GraphTheory[SpecialGraphs]
DipoleGraph
construct dipole graph
Calling Sequence
Parameters
Description
Examples
Compatibility
DipoleGraph(n)
n
-
positive integer
The DipoleGraph(n) function creates the order n dipole graph, a multigraph with two vertices and n edges between them.
The order n dipole graph is the plane dual of the cycle graph on n vertices.
with⁡GraphTheory:
with⁡SpecialGraphs:
DG≔DipoleGraph⁡5
DG≔Graph 1: an undirected multigraph with 2 vertices and 5 edge(s)
Edges⁡DG
1,2,1,2,1,2,1,2,1,2
DrawGraph⁡DG
PlaneDual⁡CycleGraph⁡5,multigraph
Graph 2: an undirected multigraph with 2 vertices and 5 edge(s)
The GraphTheory[SpecialGraphs][DipoleGraph] command was introduced in Maple 2023.
For more information on Maple 2023 changes, see Updates in Maple 2023.
See Also
BouquetGraph
CycleGraph
SpecialGraphs
Download Help Document