pivotick - v3.0.0
    Preparing search index...

    Interface NeighboursRule

    Fold nodes of one type that link to exactly the same nodes, the same way round. The leaves of a hub are the simplest case: they all have the hub as their only neighbour.

    interface NeighboursRule {
        enabled?: boolean;
        kind: "neighbours";
        minSize?: number;
        typeOf?: (node: Node) => string | undefined;
    }
    Index

    Properties

    enabled?: boolean
    true
    
    kind: "neighbours"
    minSize?: number

    Fewer matching nodes than this stay plain nodes. Between 2 and 50.

    5
    
    typeOf?: (node: Node) => string | undefined

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