Skip to content

pivotick v3.0.0


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? ​

optional enabled: boolean

Defined in: interfaces/Simplify.ts:147

Default ​

ts
true

kind ​

kind: "landings"

Defined in: interfaces/Simplify.ts:145


minSize? ​

optional minSize: number

Defined in: interfaces/Simplify.ts:152

Fewer nodes of one type than this land as plain nodes. Between 2 and 50.

Default ​

ts
2

typeOf()? ​

optional typeOf: (node) => string | undefined

Defined in: interfaces/Simplify.ts:154

Overrides UI.simplify.typeOf and render.nodeTypeAccessor for this rule.

Parameters ​

node ​

Node

Returns ​

string | undefined