PetersenGraph - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

# Online Help

###### All Products    Maple    MapleSim

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 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{IsStronglyRegular}\left(P,'\mathrm{parameters}'\right)$
 ${\mathrm{true}}{,}\left[{3}{,}{0}{,}{1}\right]$ (3)
 > $\mathrm{DrawGraph}\left(P\right)$

 See Also