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
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | "Cayley graph of <group>" | Title bar text. |
| mode | string | "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. |
| modes | string[] | [] | Views the learner may switch between (two or more of cayley, ball, folner, triangles, schreier). |
| group | string | "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. |
| groups | string[] | [] | 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. |
| n | number | first of nChoices, else 5 | Value of the parameter letter in names such as Z_n, D_n, U(n), Z_2^d. |
| nChoices | number[] | [2..10, 12] | Values offered for that parameter letter. |
| generators | string[] | the group's standard generators | Connection 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. |
| generatingSets | string[][] | [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)). |
| editableGenerators | boolean | false | Finite groups: show element chips that add or remove elements of the connection set. |
| highlightRelations | string[] | [] | 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. |
| traceWord | string | "" | Word traced initially from the selected vertex (cayley/ball) or from sheet 1 (schreier). Letters are generator names or group symbols, with ^-1. |
| animateLeftTranslation | boolean | false | Finite 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). |
| show | string[] | [] | Extra invariants in the readout: degree, connected, girth. |
| selected | string | none | Initially selected vertex (element label or word): its word length, a geodesic, its cycle and order are shown. |
| radius | number | 4 for Z^2, 3 for F(a, b), 8 for Z | Initial ball radius (infinite groups), size n of the preset Følner set, or size n of the preset triangle. |
| showGrowthPlot | boolean | false | Show the |B(r)| against r plot (all generating sets, or all groups in groups). |
| logScale | boolean | false | Start the growth plot on a log y axis (exponential growth is a straight line). |
| overlay | string | "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). |
| folnerShape | string | "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). |
| triangle | string[] | preset | Three corner elements for triangles mode (e.g. ["(0,0)", "(4,0)", "(0,4)"]); default is a preset scaled by radius. |
| mapTo | string | none | Finite 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. |
| images | object | {} | Initial images of the generators for mapTo, e.g. {"a": "(1 2)", "b": "(1 2 3)"}. |
| rank | number | 2 | Schreier mode: rank r of the free group (letters a, b, c, d). |
| sheets | number | 3 | Schreier mode: number of sheets n = index of the subgroup (at most 10). |
| sheetsRange | [number, number] | none | Schreier mode: show a slider for the number of sheets in this range. |
| permutations | object | identity | Schreier mode: one permutation of 1..n per generator in cycle notation, e.g. {"a": "(1 2 3)", "b": "(2 3)"}; editable by the learner. |
| buildAlongWord | boolean | false | Schreier mode: start from the cover built along traceWord (|w|+1 sheets), in which w does not return to sheet 1. |
| labels | string | "auto" | Vertex labels: auto (when there is room), all, none. |
| seed | number | 1 | Seed for the Random cover button. |
| height | number | auto | Drawing height in px. |
| controls | string[] | all controls shown | Ids 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. |
PreviousNext