docx
    Preparing search index...

    Type Alias ShapeFlowLayout

    Places shapes in levels along their connectors, as in a flowchart: each shape goes on a level after the shapes that connect to it, and the shapes on each level are ordered so connectors cross as little as they can.

    type ShapeFlowLayout = {
        direction?: ShapeLayoutDirection;
        lanes?: readonly (string | ShapeLane)[];
        levelSpacing?: number;
        spacing?: number;
        type: "flow";
    }
    Index

    The way the flow runs. Default is "down"

    lanes?: readonly (string | ShapeLane)[]

    Bands the flow runs along, such as the people or teams that do each step of a process (swimlanes). Each shape with a lane goes in the band of that name, and shapes without one go in the first. The bands are side by side, across the direction the flow runs in, each with a header at the start of the flow

    levelSpacing?: number

    Space between one level and the next, in pixels. Default is 50

    spacing?: number

    Space between shapes on the same level, in pixels. Default is 40

    type: "flow"