@tinyactors/scxmljs
    Preparing search index...

    Interface ChartLayout

    The result of layoutChart: everything needed to draw the chart.

    interface ChartLayout {
        boxes: BoxLayout[];
        direction: Direction;
        edges: EdgeLayout[];
        height: number;
        initials: InitialMarker[];
        inside: Map<StateNode, TransitionNode[]>;
        width: number;
    }
    Index

    Properties

    boxes: BoxLayout[]

    Every drawn box, parents before children (draw in this order).

    direction: Direction

    the direction actually used

    edges: EdgeLayout[]

    Every drawn edge.

    height: number

    total height, px

    initials: InitialMarker[]

    One marker per expanded container with an initial state.

    inside: Map<StateNode, TransitionNode[]>

    Transitions not drawn: targetless ones, and ones hidden inside a collapsed box — per box.

    width: number

    total width, px