GraphTheory[SpecialGraphs]
PetersenGraph
construct Petersen graph
Calling Sequence
Parameters
Description
Examples
PetersenGraph()
PetersenGraph(V)
V
-
(optional) list of vertex labels
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.
with⁡GraphTheory:
with⁡SpecialGraphs:
P≔PetersenGraph⁡
P≔Graph 1: an undirected graph with 10 vertices and 15 edge(s)
DegreeSequence⁡P
3,3,3,3,3,3,3,3,3,3
IsStronglyRegular⁡P,parameters
true,3,0,1
DrawGraph⁡P
See Also
GeneralizedPetersenGraph
SpecialGraphs
Download Help Document