@cpod/sdk - v0.2.7
    Preparing search index...

    Interface Graph

    interface Graph {
        id?: string;
        name?: string;
        graph_name?: string;
        nodes?: GraphNode[];
        edges?: GraphEdge[];
        graph?: {
            nodes?: GraphNode[];
            edges?: GraphEdge[];
            [key: string]: unknown;
        };
        created_at?: string;
        updated_at?: string;
        owner_id?: string;
        shared_user_ids?: string[];
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

      Additional properties from backend

    Index

    Properties

    id?: string

    Graph ID (may not be present in loadGraph response)

    name?: string

    Graph name (may not be present in loadGraph response)

    graph_name?: string

    Graph name (returned by listGraphs backend)

    nodes?: GraphNode[]

    Nodes array - available at root level from backend loadGraph response. For saved graphs from listGraphs, nodes may be inside graph property.

    edges?: GraphEdge[]

    Edges array - available at root level from backend loadGraph response. For saved graphs from listGraphs, edges may be inside graph property.

    graph?: { nodes?: GraphNode[]; edges?: GraphEdge[]; [key: string]: unknown }

    Graph data container - used when saving graphs and in some responses.

    Prefer using root-level nodes/edges for new code.

    created_at?: string
    updated_at?: string
    owner_id?: string
    shared_user_ids?: string[]