GeneralizedHexagonGraph - Maple Help

# Online Help

###### All Products    Maple    MapleSim

GraphTheory[SpecialGraphs]

 GeneralizedHexagonGraph
 construct generalized hexagon graph

 Calling Sequence GeneralizedHexagonGraph()

Description

 • The GeneralizedHexagonGraph() command returns the generalized hexagon graph.

Examples

 > $\mathrm{with}\left(\mathrm{GraphTheory}\right):$
 > $\mathrm{with}\left(\mathrm{SpecialGraphs}\right):$
 > $G≔\mathrm{GeneralizedHexagonGraph}\left(\right)$
 ${G}{≔}{\mathrm{Graph 1: an undirected unweighted graph with 126 vertices and 189 edge\left(s\right)}}$ (1)
 > $\mathrm{IsPlanar}\left(G\right)$
 ${\mathrm{false}}$ (2)
 > $\mathrm{DrawGraph}\left(G,\mathrm{style}=\mathrm{spring}\right)$

 See Also