Represents the graph

Note: An article is defined by a sub-set of nodes of the graph and additional data that applies to all nodes of an article.

interface GraphRepresentation {
    articles: ArticleRepresentation[];
    creator: string;
    erpInterfaceVersion: TsGraphRepVersion;
    nodes: NodeRepresentation[];
    projectId: undefined | string;
    projectName: string;
    projectUserData: undefined | StringIndexedInterface;
    resources: Resources;
}

Properties

Entries for all articles part of the graph

creator: string

Application name and version

erpInterfaceVersion: TsGraphRepVersion

ERP interface version

Entries for all nodes part of the graph

projectId: undefined | string

User-defined ID of the project (if any)

Value can be set via legacy scripts args.

For new code consider using --json-inputs [[projectUserData]] instead.

projectName: string

Name of the project

projectUserData: undefined | StringIndexedInterface

User-defined data that can be passed via script args

resources: Resources

Various resources for entries of nodes