MAIDR JavaScript API
    Preparing search index...

    One node of a hierarchy.

    interface TreeNode {
        name: string;
        children?: TreeNode[];
        value?: number;
        element?: Element | null;
    }
    Index

    Properties

    name: string
    children?: TreeNode[]
    value?: number

    The node's magnitude, when the diagram gives one.

    element?: Element | null

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