SVG Graph Network API Documentation - v0.2.0
    Preparing search index...

    Interface LinkData

    Link/edge data structure connecting two nodes

    interface LinkData {
        id?: string;
        source: string;
        target: string;
        label?: string;
        weight?: number;
        line_type?: "solid" | "dashed" | "dotted";
        color?: string;
        [key: string]: any;
    }

    Indexable

    • [key: string]: any

      Allow additional custom properties

    Index

    Properties

    id?: string

    Unique identifier for the edge (optional for backward compatibility)

    source: string

    Source node ID

    target: string

    Target node ID

    label?: string

    Optional label for the link

    weight?: number

    Weight/strength of the connection

    line_type?: "solid" | "dashed" | "dotted"

    Visual style of the line

    color?: string

    Color of the edge