Member Junction
    Preparing search index...

    Interface GraphNode<TData>

    Represents a single node entity in the network graph.

    interface GraphNode<TData = Record<string, unknown>> {
        Badge?: string;
        Category: GraphNodeCategory;
        Color?: string;
        Data?: TData;
        fx?: number | null;
        FX?: number | null;
        fy?: number | null;
        FY?: number | null;
        HopDistance?: number;
        IconClass?: string;
        ID: string;
        index?: number;
        Label: string;
        Radius?: number;
        Sublabel?: string;
        vx?: number;
        VX?: number;
        vy?: number;
        VY?: number;
        x?: number;
        X?: number;
        y?: number;
        Y?: number;
    }

    Type Parameters

    • TData = Record<string, unknown>
    Index

    Properties

    Badge?: string

    Optional small badge text or status indicator

    Semantic category defining the default icon and palette

    Color?: string

    Optional custom hex/HSL color or CSS color variable override

    Data?: TData

    Underlying business entity reference / data payload

    fx?: number | null
    FX?: number | null
    fy?: number | null
    FY?: number | null
    HopDistance?: number

    Distance from root/selected focus node in hops (0 = focal center)

    IconClass?: string

    Optional Font Awesome icon class override (e.g. 'fa-solid fa-user')

    ID: string

    Unique identifier for the node

    index?: number
    Label: string

    Primary display label (e.g. Person Name, Organization Name)

    Radius?: number

    Node radius / diameter scale (default is 28)

    Sublabel?: string

    Secondary descriptive sublabel (e.g. Job Title, Industry)

    vx?: number
    VX?: number
    vy?: number
    VY?: number
    x?: number
    X?: number

    Current 2D simulation coordinates (uppercase for MJ models, lowercase for D3 compatibility)

    y?: number
    Y?: number