Note

You are not reading the most recent version of this documentation.

StateDiagram

class Cocotec.CocoPlatform.Coco.StateDiagram

Represents a state machine diagram.

Properties

string DotDiagram { }

Get a textual ‘dot’ representation of the state diagram.

List<List<Cocotec.CocoPlatform.Coco.Node>> Elements { }

Get mapping of dot/SVG graph element IDs to lists of AST Nodes they represent. A single dot graph element can represent multiple AST Nodes, for instance one edge can represent multiple transitions. The indexes in the vector are dot/SVG element IDs.

List<List<int>> HighlightGroups { }

Get a vector of of “highlight groups”, which are groups of IDs of elements to highlight if element “i” is focused/hovered on, where “i” is an index into the vector.