pivotick / Simplify / GroupInfo
Interface: GroupInfo
Defined in: interfaces/Simplify.ts:8
A group drawn by simplification: nodes folded into one dot on the canvas. View state only — graph.getNodes(), the table, export and history see the members, never the group.
Properties
anchors
anchors:
Node[]
Defined in: interfaces/Simplify.ts:18
The drawn neighbours that define it.
id
id:
string
Defined in: interfaces/Simplify.ts:10
Stable while the group keeps its key or most of its members.
landing?
optionallanding:object
Defined in: interfaces/Simplify.ts:26
A landings group's run: its id and the pivot that ran it.
pivotId
pivotId:
string
pivotLabel
pivotLabel:
string
runId
runId:
string
level?
optionallevel:number
Defined in: interfaces/Simplify.ts:22
The Communities level it was found at.
members
members:
Node[]
Defined in: interfaces/Simplify.ts:14
The real nodes it stands for.
open
open:
boolean
Defined in: interfaces/Simplify.ts:20
Whether its members are back on the canvas.
rule
rule:
string
Defined in: interfaces/Simplify.ts:12
The id of the rule that made it: 'neighbours', 'chains', 'degree', 'kcore', 'communities', 'landings', 'manual', or a custom rule's own id.
title?
optionaltitle:string
Defined in: interfaces/Simplify.ts:24
A hand-made group's title, shown in place of its type breakdown.
typeCounts
typeCounts:
Record<string,number>
Defined in: interfaces/Simplify.ts:16
How many members of each type; the key is '' for nodes with no type.