pivotick / Simplify / LandingsRule
Interface: LandingsRule
Defined in: interfaces/Simplify.ts:144
Fold what a pivot brought in: the nodes an ingest added, one group per type, when that ingest was asked to land in a group (graph.simplify.groupLanding). A member stays whatever links it gains. Added at the top of the rules, on, the first time a landing is grouped; declare it to place it elsewhere or preset its smallest group.
Properties
enabled?
optionalenabled:boolean
Defined in: interfaces/Simplify.ts:147
Default
truekind
kind:
"landings"
Defined in: interfaces/Simplify.ts:145
minSize?
optionalminSize:number
Defined in: interfaces/Simplify.ts:152
Fewer nodes of one type than this land as plain nodes. Between 2 and 50.
Default
2typeOf()?
optionaltypeOf: (node) =>string|undefined
Defined in: interfaces/Simplify.ts:154
Overrides UI.simplify.typeOf and render.nodeTypeAccessor for this rule.
Parameters
node
Returns
string | undefined