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

Online Help

All Products    Maple    MapleSim


GraphTheory[SpecialGraphs]

  

WheelGraph

  

construct wheel graph

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

WheelGraph(n)

Parameters

n

-

positive integer

Description

• 

The WheelGraph(n) function creates the wheel graph on n+1 vertices.

Examples

> 

with⁡GraphTheory:

> 

with⁡SpecialGraphs:

> 

W≔WheelGraph⁡5

W≔Graph 1: an undirected graph with 6 vertices and 10 edges

(1)
> 

Edges⁡W

0,1,0,2,0,3,0,4,0,5,1,2,1,5,2,3,3,4,4,5

(2)
> 

DrawGraph⁡W

See Also

GearGraph

SpecialGraphs