Cayley Graph Explorer

Draws the Cayley graph of a finite group (Z_n, D_n, S_n, U(n), products) or a ball in an infinite one (Z, Z^2, free groups, D_infinity, Z_2 * Z_3, Heisenberg) for a chosen generating set. Learners click vertices to see orders, cycles and geodesic words, trace relations as closed loops, slide a generator, compare balls and growth across generating sets, build Følner sets, measure thin triangles, map a free group into a finite group, or edit the permutations of a Schreier graph (finite cover) and read off the Schreier generators.

Used in: Group Theory

Props

PropTypeDefaultDescription
titlestring"Cayley graph of <group>"Title bar text.
modestring"auto"View: cayley (graph, orders, words, relations), ball (word-metric balls and growth), folner (almost-invariant sets), triangles (thin/fat geodesic triangles), schreier (finite covers of a rose). auto = schreier when rank/sheets/permutations are given, ball for infinite groups with showGrowthPlot, else cayley.
modesstring[][]Views the learner may switch between (two or more of cayley, ball, folner, triangles, schreier).
groupstring"D_4"Group name: any finite name of the groups core up to order 120 (Z_12, D_4, S_3, U(15), Z_4 x Z_6, Z_2^3, Q_8, A_4, U(n), D_n ...) or Z, Z^2, F(a, b), F(a, b, c), D_infinity, Z_2 * Z_3, Heisenberg.
groupsstring[][]Groups the learner can pick from; with showGrowthPlot their growth curves are overlaid. generators and other per-group props apply to `group` (or the first entry) only; the others use their standard generators.
nnumberfirst of nChoices, else 5Value of the parameter letter in names such as Z_n, D_n, U(n), Z_2^d.
nChoicesnumber[][2..10, 12]Values offered for that parameter letter.
generatorsstring[]the group's standard generatorsConnection set S: element labels or words ("r", "s", "(1,0)", "ab", "5", "(1 2 3)"). Names listed in parameters are replaced by the slider value ("k", "(a, b)"); any other single letter that is not an element ("a" in U(11)) becomes an element picker.
generatingSetsstring[][][generators]Several generating sets of the same group: the learner switches between them; word lengths, bi-Lipschitz constants on the ball and the growth curves of all sets are compared.
parameters{name, min, max, step?, initial?}[][]Sliders substituted into generators by name (e.g. k in Z_12, a and b in (a, b)).
editableGeneratorsbooleanfalseFinite groups: show element chips that add or remove elements of the connection set.
highlightRelationsstring[][]Relator words ("r^4", "s r s r") offered as buttons; each is traced from the selected vertex and shown to close up. The first one is traced initially.
traceWordstring""Word traced initially from the selected vertex (cayley/ball) or from sheet 1 (schreier). Letters are generator names or group symbols, with ^-1.
animateLeftTranslationbooleanfalseFinite groups: pick g and animate x -> g·x (a graph automorphism: the picture lands on itself) against x -> x·g (not one, for non-abelian groups).
showstring[][]Extra invariants in the readout: degree, connected, girth.
selectedstringnoneInitially selected vertex (element label or word): its word length, a geodesic, its cycle and order are shown.
radiusnumber4 for Z^2, 3 for F(a, b), 8 for ZInitial ball radius (infinite groups), size n of the preset Følner set, or size n of the preset triangle.
showGrowthPlotbooleanfalseShow the |B(r)| against r plot (all generating sets, or all groups in groups).
logScalebooleanfalseStart the growth plot on a log y axis (exponential growth is a straight line).
overlaystring"none"euclidean: for Z^2, draw the Euclidean disk of the same radius and compare |g|_S with the Euclidean norm (quasi-isometry to R^2).
folnerShapestring"box" for Z, Z^2, else "ball"Preset Følner set F_n in folner mode: box [-n, n]^d or word-metric ball B(n).
trianglestring[]presetThree corner elements for triangles mode (e.g. ["(0,0)", "(4,0)", "(0,4)"]); default is a preset scaled by radius.
mapTostringnoneFinite target group H (order <= 60): the learner chooses images of the generators, sees the Cayley graph of H, the image of the selected vertex and of its geodesic, and the kernel elements of the ball.
imagesobject{}Initial images of the generators for mapTo, e.g. {"a": "(1 2)", "b": "(1 2 3)"}.
ranknumber2Schreier mode: rank r of the free group (letters a, b, c, d).
sheetsnumber3Schreier mode: number of sheets n = index of the subgroup (at most 10).
sheetsRange[number, number]noneSchreier mode: show a slider for the number of sheets in this range.
permutationsobjectidentitySchreier mode: one permutation of 1..n per generator in cycle notation, e.g. {"a": "(1 2 3)", "b": "(2 3)"}; editable by the learner.
buildAlongWordbooleanfalseSchreier mode: start from the cover built along traceWord (|w|+1 sheets), in which w does not return to sheet 1.
labelsstring"auto"Vertex labels: auto (when there is room), all, none.
seednumber1Seed for the Random cover button.
heightnumberautoDrawing height in px.
controlsstring[]all controls shownIds of the hideable readouts, panels and legend words to show (see the controls registry, e.g. readout.order, readout.word-length, panel.relations, schreier.generators). Core controls always show. Page building fills this from the subject's topic scope.