Constructor for the CD class.
The CD diagram in text form.
A textual representation of the diagram. Uses Richard Klitzing's notation.
The position at which the diagram
is being read.
Tries to match a regex at the current point in the string. If it succeeds, the [[index
]] is left at the end of the regex.
The regex to match.
The matched string if successful, null
otherwise.
Reads a node from the CD.
Either the next node label, or the empty string if the [[index
]] isn't just before a valid node label.
Reads a number from the CD.
Either the next edge number, or the empty string if the [[index
]] isn't just before a valid edge number.
Reads a virtual node from the CD.
Whether the virtual node to be read is a letter or a number.
The read virtual node, or null
if the [[index
]] isn't just before a valid virtual node.
Converts a textual Coxeter Diagram to a graph.
The CD as a labeled graph.
Generated using TypeDoc, the 1/31/2021 at 6:18:55 AM
Represents a Coxeter Diagram, and contains the necessary methods to parse it.