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

    Interface NodeData

    Base node data structure that all nodes must implement

    interface NodeData {
        id: string;
        name: string;
        type?: string;
        shape?: "circle" | "rectangle" | "square" | "triangle";
        size?: number;
        [key: string]: any;
    }

    Indexable

    • [key: string]: any

      Allow additional custom properties

    Index

    Properties

    Properties

    id: string

    Unique identifier for the node

    name: string

    Display name for the node

    type?: string

    Node type for styling and grouping

    shape?: "circle" | "rectangle" | "square" | "triangle"

    Visual shape of the node

    size?: number

    Size of the node in pixels