StateDiagram¶
-
public class
StateDiagram
¶ Represents a state machine diagram.
Methods¶
fromProtobuf¶
-
public static StateDiagram
fromProtobuf
(APIClient client, Out.CocoStateDiagram inputValue)¶ Internal constructor
getDotDiagram¶
getElements¶
-
public final java.util.ArrayList<java.util.ArrayList<io.cocotec.coco.platform.coco.Node>>
getElements
()¶ 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.