MAIDR Documentation - v4.4.0
    Preparing search index...

    Interface PlotlyHierarchyNode

    One node of the tree a hierarchy trace was drawn from, as plotly's calc leaves it on the first calcdata entry.

    data.data is the calc entry for the sector — the double hop is d3's: the hierarchy wraps the stratified node, which wraps what plotly computed.

    interface PlotlyHierarchyNode {
        children?: PlotlyHierarchyNode[];
        parent?: PlotlyHierarchyNode | null;
        value?: number;
        data?: { data?: PlotlySector };
    }
    Index

    Properties

    children?: PlotlyHierarchyNode[]
    parent?: PlotlyHierarchyNode | null
    value?: number

    The magnitude d3 resolved, which is the one the sector was drawn at.

    data?: { data?: PlotlySector }