ButterflyGraph - 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]

  

ButterflyGraph

  

construct butterfly graph

 

Calling Sequence

Description

Examples

References

Compatibility

Calling Sequence

ButterflyGraph()

Description

• 

ButterflyGraph() constructs the butterfly graph, a planar undirected graph with 5 vertices and 6 edges.

Examples

> 

with⁡GraphTheory:

> 

with⁡SpecialGraphs:

> 

B≔ButterflyGraph⁡

B≔Graph 1: an undirected graph with 5 vertices and 6 edges

(1)
> 

ChromaticNumber⁡B

3

(2)
> 

Girth⁡B

3

(3)
> 

DrawGraph⁡B

References

  

"Butterfly graph", Wikipedia. http://en.wikipedia.org/wiki/Butterfly_graph

Compatibility

• 

The GraphTheory[SpecialGraphs][ButterflyGraph] command was introduced in Maple 2021.

• 

For more information on Maple 2021 changes, see Updates in Maple 2021.

See Also

SpecialGraphs