GraphTheory/DrawAutomorphism - Maple Help

GraphTheory

 DrawAutomorphism
 draw graph automorphisms

 Calling Sequence DrawAutomorphism( G, automorphisms, opts )

Parameters

 G - a graph automorphisms - (optional) automorphisms to visualize opts - (optional) arguments as described below

Options

 • frames=posint
 The number of frames to generate in the resulting animation. More frames will result in a smoother animation but will generate a larger plot structure.
 • maxcolumns=posint
 The maximum number of columns to include in a table of animations, if multiple automorphisms are being illustrated. Default is 4.
 • maxrows=posint
 The maximum number of rows to include in a table of animations, if multiple automorphisms are being illustrated. Default is infinity.
 • trivialwarning=truefalse
 Whether or not to display a warning message when the automorphism group is trivial. In this case, the result of DrawAutomorphism(G) will be an empty table as there are no nontrivial automorphisms to show. The default is true.
 • DrawAutomorphism also supports all options supported by DrawGraph with the exception of dimension.

Description

 • The DrawAutomorphism( G ) command draws the automorphisms of a given graph G.
 • The graph G may be directed or undirected, but must be unweighted.

Examples

Draw the generators of the automorphism group of the cycle graph on 5 vertices.

 > $\mathrm{with}\left(\mathrm{GraphTheory}\right):$
 > $\mathrm{C5}≔\mathrm{CycleGraph}\left(5\right)$
 ${\mathrm{C5}}{≔}{\mathrm{Graph 1: an undirected unweighted graph with 5 vertices and 5 edge\left(s\right)}}$ (1)
 > $\mathrm{DrawAutomorphism}\left(\mathrm{C5}\right)$

Draw the generators of the automorphism group of the prism graph on 6 vertices, while specifying that the animation contain only 5 frames.

 > $\mathrm{P3}≔\mathrm{SpecialGraphs}:-\mathrm{PrismGraph}\left(3\right)$
 ${\mathrm{P3}}{≔}{\mathrm{Graph 2: an undirected unweighted graph with 6 vertices and 9 edge\left(s\right)}}$ (2)
 > $\mathrm{DrawAutomorphism}\left(\mathrm{P3},\mathrm{frames}=5\right)$

 > 

Compatibility

 • The GraphTheory[DrawAutomorphism] command was introduced in Maple 2017.