MAIDR JavaScript API
    Preparing search index...

    One box of a diagram.

    interface GraphNode {
        id: string;
        label?: string;
        parent?: string;
        attributes?: Record<string, string | number>;
        element?: Element | null;
    }
    Index

    Properties

    id: string
    label?: string

    What it is announced as. Defaults to id.

    parent?: string

    The group it sits in, by the group's id.

    attributes?: Record<string, string | number>

    Anything else the reader should hear about it.

    element?: Element | null

    The element Mermaid drew for it, when it was found.