GraphASTNode is a type of AST node that represents a graph.

interface GraphASTNode {
    children: ClusterStatementASTNode[];
    directed: boolean;
    id?: LiteralASTNode<string>;
    location?: FileRange;
    strict: boolean;
    type: "Graph";
}

Hierarchy (view full)

Properties

directed: boolean

A boolean indicating whether the graph is directed.

id?: LiteralASTNode<string>

An optional identifier for the Graph AST Node.

location?: FileRange

The start and end location of the AST object.

strict: boolean

A boolean indicating whether the graph is strict.

type: "Graph"

Every leaf interface that extends ASTBaseNode must specify a type property.

Generated using TypeDoc