GraphTheory/SpecialGraphs/WindmillGraph - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

# Online Help

###### All Products    Maple    MapleSim

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

GraphTheory[SpecialGraphs]

 WindmillGraph
 construct windmill graph

 Calling Sequence WindmillGraph(k,n)

Parameters

 k - posint; size of copy of complete graph n - posint; number of copies of complete graph

Description

 • WindmillGraph(k,n) creates a windmill graph with n*(k-1)+1 vertices and n*k*(k-1)/2 edges. This consists of n copies of the complete graph on k vertices which are joined at a shared universal vertex.

Examples

 > $\mathrm{with}\left(\mathrm{GraphTheory}\right):$
 > $\mathrm{with}\left(\mathrm{SpecialGraphs}\right):$
 > $W≔\mathrm{WindmillGraph}\left(4,3\right)$
 ${W}{≔}{\mathrm{Graph 1: an undirected graph with 10 vertices and 18 edge\left(s\right)}}$ (1)
 > $\mathrm{IsPlanar}\left(W\right)$
 ${\mathrm{true}}$ (2)
 > $\mathrm{NumberOfEdges}\left(W\right)$
 ${18}$ (3)
 > $\mathrm{DrawGraph}\left(W\right)$

Compatibility

 • The GraphTheory[SpecialGraphs][WindmillGraph] command was introduced in Maple 2023.
 • For more information on Maple 2023 changes, see Updates in Maple 2023.

 See Also