This interface provides a method for creating an Abstract Syntax Tree (AST) for a given type.

interface CreateElement {
    <T>(type, props, children?): LiteralASTNode<T>;
    (type, props, children?): LiteralASTNode<string>;
    (type, props, children?): DotASTNode;
    (type, props, children?): GraphASTNode;
    <K>(type, props, children?): AttributeASTNode<K>;
    (type, props, children?): AttributeASTNode<AttributeKey>;
    (type, props, children?): CommentASTNode;
    (type, props, children?): AttributeListASTNode;
    (type, props, children?): NodeRefASTNode;
    (type, props, children?): NodeRefGroupASTNode;
    (type, props, children?): EdgeASTNode;
    (type, props, children?): NodeASTNode;
    (type, props, children?): SubgraphASTNode;
}

Generated using TypeDoc