g3-toolkit API Reference
    Preparing search index...

    Interface LabelPriorityInput

    interface LabelPriorityInput {
        explicit?: number;
        hovered?: boolean;
        kind: LabelKind;
        selected?: boolean;
        weight?: number;
    }
    Index

    Properties

    explicit?: number

    Host-supplied rank: the _labelPriority data field or the labelPriority prop's return. Clamped to +/- 99,999.

    hovered?: boolean

    The element is the hovered node (or incident to it).

    kind: LabelKind
    selected?: boolean

    The element is in the selection store (or is incident to a selected element, by the caller's choice).

    weight?: number

    Final tiebreak: node degree or edge weight. Clamped to 0..999.