GraphTheory[SpecialGraphs] - Maple Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Mathematics : Discrete Mathematics : Graph Theory : GraphTheory Package : SpecialGraphs : GraphTheory/SpecialGraphs/PetersenGraph

GraphTheory[SpecialGraphs]

 PetersenGraph
 construct Petersen graph

 Calling Sequence PetersenGraph() PetersenGraph(V)

Parameters

 V - (optional) list of vertex labels

Description

 • The PetersenGraph command creates the Petersen graph on 10 vertices. As an option, you may input the labels of the vertices as a set or list of size 10.

Examples

 > $\mathrm{with}\left(\mathrm{GraphTheory}\right):$
 > $\mathrm{with}\left(\mathrm{SpecialGraphs}\right):$
 > $P≔\mathrm{PetersenGraph}\left(\right)$
 ${P}{:=}{\mathrm{Graph 1: an undirected unweighted graph with 10 vertices and 15 edge\left(s\right)}}$ (1)
 > $\mathrm{DegreeSequence}\left(P\right)$
 $\left[{3}{,}{3}{,}{3}{,}{3}{,}{3}{,}{3}{,}{3}{,}{3}{,}{3}{,}{3}\right]$ (2)
 > $\mathrm{DrawGraph}\left(P\right)$

 See Also

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam