Graph class

Inheritance

Constructors

Graph({required List<NodeInput> list, required bool centred})

Properties

centred bool
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
incomesByNodeIdMap Map<String, List<String>>
getter/setter pairinherited
list List<NodeInput>
getter/setter pairinherited
loopsByNodeIdMap Map<String, List<String>>
getter/setter pairinherited
nodesMap Map<String, NodeInput>
getter/setter pairinherited
outcomesByNodeIdMap Map<String, List<String>>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

detectIncomesAndOutcomes() → void
inherited
getCenterYAmongIncomes(NodeOutput item, Matrix mtx) int
inherited
getLowestYAmongIncomes(NodeOutput item, Matrix mtx) int
inherited
getOutcomesArray(String itemId) List<NodeInput>
inherited
handleJoinNode(NodeOutput item, State state, TraverseQueue levelQueue) → void
handleLoopEdges(NodeOutput item, State state) List<LoopNode>
inherited
handleSimpleNode(NodeOutput item, State state, TraverseQueue levelQueue) → void
handleSplitJoinNode(NodeOutput item, State state, TraverseQueue levelQueue) → void
handleSplitNode(NodeOutput item, State state, TraverseQueue levelQueue) → void
hasLoops(NodeOutput item) bool
inherited
incomes(String id) List<String>
inherited
insertJoinIncomes(NodeOutput item, State state, TraverseQueue levelQueue, bool addItemToQueue) → void
inherited
insertLoopEdges(NodeOutput item, State state, List<LoopNode> loopNodes) → void
inherited
insertNodeOnMatrix(NodeOutput item, State state, bool checkCollision) → void
inherited
insertSplitOutcomes(NodeOutput item, State state, TraverseQueue levelQueue) → void
inherited
isJoin(String id) bool
inherited
isLoopEdge(String nodeId, String outcomeId) bool
inherited
isRoot(String id) bool
inherited
isSplit(String id) bool
inherited
joinHasUnresolvedIncomes(NodeOutput item) bool
inherited
loops(String id) List<String>
inherited
markIncomesAsPassed(Matrix mtx, NodeOutput item) → void
inherited
node(String id) NodeInput
inherited
nodeType(String id) NodeType
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
outcomes(String id) List<String>
inherited
processOrSkipNodeOnMatrix(NodeOutput item, State state) bool
inherited
resolveCurrentJoinIncomes(Matrix mtx, NodeOutput join) → void
inherited
roots() List<NodeInput>
inherited
toString() String
A string representation of this object.
inherited
traverse() Matrix
traverseItem(NodeOutput item, State state, TraverseQueue levelQueue) → void
traverseLevel(State state) → void
traverseList(State state) Matrix
traverseVertically(NodeInput node, Set<String> branchSet, Set<String> totalSet) Set<String>
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited