Member Junction
    Preparing search index...

    Interface GraphEdge<TData>

    Represents a relationship edge between two nodes.

    interface GraphEdge<TData = Record<string, unknown>> {
        Animated?: boolean;
        Color?: string;
        Data?: TData;
        Direction?: GraphEdgeDirection;
        ID: string;
        index?: number;
        Label: string;
        source?: string | GraphNode<Record<string, unknown>>;
        SourceID: string;
        Style?: GraphEdgeStyle;
        target?: string | GraphNode<Record<string, unknown>>;
        TargetID: string;
        Weight?: number;
    }

    Type Parameters

    • TData = Record<string, unknown>
    Index

    Properties

    Animated?: boolean

    Whether to render an animated particle flow along the edge

    Color?: string

    Optional stroke color override

    Data?: TData

    Underlying relationship entity reference / data payload

    Direction?: GraphEdgeDirection

    Directionality of the relationship

    ID: string

    Unique identifier for the relationship edge

    index?: number
    Label: string

    Relationship semantic label (e.g. 'Employed By', 'Board Member', 'Subsidiary Of')

    source?: string | GraphNode<Record<string, unknown>>

    D3 simulation link object references

    SourceID: string

    Source node identifier

    Line style pattern

    target?: string | GraphNode<Record<string, unknown>>
    TargetID: string

    Target node identifier

    Weight?: number

    Edge thickness / weight (default is 2)