Visual programming graph save data structure .

interface StoredGraph {
    author?: string;
    createdAt?: Date;
    description?: string;
    graph: {
        comments: {
            id: string;
            links: string[];
            text: string;
        }[];
        connections: ConnectionSaveData[];
        editorName: string;
        graphName: string;
        id: undefined | string;
        nodes: NodeSaveData[];
        previewedNodes: string[];
        variables: Record<string, Variable> | Variable[];
    };
    id: string;
    inputs?: GraphPorts;
    name?: string;
    outputs?: GraphPorts;
    path?: string[];
    public?: boolean;
    schemaVersion?: string;
    tags?: string[];
    updatedAt?: Date;
    variables?: {
        description?: string;
        id: string;
        keep?: boolean;
        label?: string;
        priority?: number;
    }[];
    version?: number;
}

Hierarchy (view full)

Properties

author?: string

Author of the graph.

createdAt?: Date

Date of creation.

description?: string

Description of the graph.

graph: {
    comments: {
        id: string;
        links: string[];
        text: string;
    }[];
    connections: ConnectionSaveData[];
    editorName: string;
    graphName: string;
    id: undefined | string;
    nodes: NodeSaveData[];
    previewedNodes: string[];
    variables: Record<string, Variable> | Variable[];
}

Data of the graph.

id: string

ID of the graph.

inputs?: GraphPorts
name?: string

Name of the graph.

outputs?: GraphPorts
path?: string[]

Menu path.

public?: boolean

Public visibility of the graph.

schemaVersion?: string

Version of the GEOS schema.

tags?: string[]

Search tags of the graph.

updatedAt?: Date

Date of the last modification.

variables?: {
    description?: string;
    id: string;
    keep?: boolean;
    label?: string;
    priority?: number;
}[]
version?: number

Version of the graph.