GraphTheory/SpecialGraphs/DipoleGraph - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : GraphTheory/SpecialGraphs/DipoleGraph

GraphTheory[SpecialGraphs]

  

DipoleGraph

  

construct dipole graph

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

DipoleGraph(n)

Parameters

n

-

positive integer

Description

• 

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.

Examples

> 

with⁡GraphTheory:

> 

with⁡SpecialGraphs:

> 

DG≔DipoleGraph⁡5

DG≔Graph 1: an undirected multigraph with 2 vertices and 5 edges

(1)
> 

Edges⁡DG

1,2,1,2,1,2,1,2,1,2

(2)
> 

DrawGraph⁡DG

> 

PlaneDual⁡CycleGraph⁡5,multigraph

Graph 2: an undirected multigraph with 2 vertices and 5 edges

(3)

Compatibility

• 

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