pivotick / Simplify / GraphView
Interface: GraphView
Defined in: interfaces/Simplify.ts:33
The drawn graph as one rule sees it: what the node filters let through, with the groups made by the rules before it standing in for their members. Read-only.
Methods
groupOf()
groupOf(
node):GroupInfo|undefined
Defined in: interfaces/Simplify.ts:46
The group behind this node, when it is one made by an earlier rule.
Parameters
node
Returns
GroupInfo | undefined
inNeighbours()
inNeighbours(
node):Node[]
Defined in: interfaces/Simplify.ts:40
The drawn nodes with a line to this one.
Parameters
node
Returns
Node[]
outNeighbours()
outNeighbours(
node):Node[]
Defined in: interfaces/Simplify.ts:42
The drawn nodes this one has a line to.
Parameters
node
Returns
Node[]
typeOf()
typeOf(
node):string|undefined
Defined in: interfaces/Simplify.ts:44
The type the rule groups by: its own typeOf, else UI.simplify.typeOf, else render.nodeTypeAccessor.
Parameters
node
Returns
string | undefined
Properties
nodes
nodes:
Node[]
Defined in: interfaces/Simplify.ts:38
The nodes this rule may group. Annotated nodes, nodes pulled out of a group and expanded clusters are left out; groups from earlier rules are in.