DodecahedronGraph - 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[CubeGraph]

  

construct cube graph

  

SpecialGraph[DodecahedronGraph]

  

construct dodecahedron graph

  

SpecialGraphs[IcosahedronGraph]

  

construct icosahedron graph

  

SpecialGraphs[TetrahedronGraph]

  

construct tetrahedron graph

  

SpecialGraphs[OctahedronGraph]

  

construct octahedron graph

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

CubeGraph()

CubeGraph(V8)

DodecahedronGraph()

DodecahedronGraph(V20)

IcosahedronGraph()

IcosahedronGraph(V12)

OctahedronGraph()

OctahedronGraph(V6)

TetrahedronGraph()

TetrahedronGraph(V4)

Parameters

V4

-

(optional) list of 4 vertex labels

V6

-

(optional) list of 6 vertex labels

V8

-

(optional) list of 8 vertex labels

V12

-

(optional) list of 12 vertex labels

V20

-

(optional) list of 20 vertex labels

Description

• 

The CubeGraph command creates the cube graph on 8 vertices. A cube is a 3-regular and 6-faced planar graph. As an option, you may input the labels of the vertices as a set or list of size 8.

• 

The DodecahedronGraph command creates the dodecahedron graph on 20 vertices. A dodecahedron is a 3-regular and 12-faced planar graph. As an option, you may input the labels of the vertices as a set or list of size 20.

• 

The IcosahedronGraph command creates the icosahedron graph on 12 vertices. An icosahedron is a 5-regular and 20-faced planar graph. As an option, you may input the labels of the vertices as a set or list of size 12.

• 

The OctahedronGraph command creates the octahedron graph on 6 vertices. As an option, you may input the labels of the vertices as a set or list of size 6.

• 

The TetrahedronGraph command creates the tetrahedron graph (the complete graph) on 4 vertices. As an option, you may input the labels of the vertices as a set or list of size 4.

Examples

> 

with⁡GraphTheory:

> 

with⁡SpecialGraphs:

> 

C≔CubeGraph⁡

C≔Graph 1: an undirected graph with 8 vertices and 12 edges

(1)
> 

DrawGraph⁡C

> 

H≔DodecahedronGraph⁡

H≔Graph 2: an undirected graph with 20 vertices and 30 edges

(2)
> 

Neighborhood⁡H,19

14,18,20

(3)
> 

IsPlanar⁡H,F

true

(4)
> 

nops⁡F

12

(5)
> 

DrawGraph⁡H

> 

K≔IcosahedronGraph⁡

K≔Graph 3: an undirected graph with 12 vertices and 30 edges

(6)
> 

IsPlanar⁡K,F

true

(7)
> 

map⁡nops,F

3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3

(8)
> 

DrawGraph⁡K

> 

G≔OctahedronGraph⁡

G≔Graph 4: an undirected graph with 6 vertices and 12 edges

(9)
> 

IsPlanar⁡G

true

(10)
> 

DrawGraph⁡G

> 

T≔TetrahedronGraph⁡

T≔Graph 5: an undirected graph with 4 vertices and 6 edges

(11)
> 

DrawGraph⁡T

See Also

SpecialGraphs