prorm API Reference
    Preparing search index...

    Interface TreeDiagramOptions

    interface TreeDiagramOptions {
        root: TreeNode;
        title?: string;
        theme?: "light" | "dark";
        color?: string;
        direction?: "horizontal" | "vertical";
    }
    Index
    root: TreeNode
    title?: string
    theme?: "light" | "dark"

    Accepted for backward compatibility and ignored: diagrams render in a single monochrome theme.

    color?: string

    Accepted for backward compatibility and ignored.

    direction?: "horizontal" | "vertical"