Skip to main content
Version: 4.1

SwimlaneBoundary

The SwimlaneBoundary element tool renders a rectangular border to show the bounding box of a bpmn2.Pool and bpmn2.HeaderedPool pool lane.

See usage of the SwimlaneBoundary element tool in the learn section.

constructor​

constructor(opt: SwimlaneBoundary.Options);

The elementTools.SwimlaneBoundary constructor accepts an Options object that encapsulates multiple parameters:

laneId​

Specifies the lane group for which the tool should be rendered.

padding​

[optional] Determines whether the boundary area should be visually inflated and if so, by how much. Default is 10 ({left: 10, top: 10, right: 10, bottom: 10}).

Types​

Options​

interface Options extends dia.ToolView.Options {
laneId: string;
padding?: dia.Sides;
attributes?: attributes.NativeSVGAttributes;
}

Stay in the know

Be where thousands of diagramming enthusiasts meet

Star us on GitHub