MAIDR JavaScript API
    Preparing search index...

    What treeLayer reads.

    interface TreeParts {
        roots: TreeNode[];
        nodeLabel?: string;
        valueLabel?: string;
        name?: string;
        idSuffix?: string;
        type?: TREEMAP | TREE;
        diagram?: DiagramType;
    }
    Index

    Properties

    roots: TreeNode[]
    nodeLabel?: string

    What the layer calls a node: Topic, Entry. A node is announced with it unless it names its own kind, and l x and the description name the layer's nodes with it, so where the levels are different kinds it is a word true of all of them: Item, not Column or Card.

    valueLabel?: string

    What the magnitude measures, when there is one.

    name?: string

    The layer's name, when the figure has several.

    idSuffix?: string

    What the layer's id ends in, tree unless given: a figure with two tree layers gives each its own. Not the name, which is in the reader's language, while an id is the same in every language.

    type?: TREEMAP | TREE

    tree unless the diagram is drawn as nested areas.

    diagram?: DiagramType

    The diagram MAIDR names and explains this as, when it is not drawn as its layer type.