Skip to main content

Home > @jsplumbtoolkit/core > AbstractLayout > step

AbstractLayout.step() method

Step through the layout. For some layouts there is only a single step, but others continue stepping until some condition is met. Once the condition is met, the subclass must set this.done = true, or the layout will continue looping indefinitely.

Signature:

abstract step(toolkit: JsPlumbToolkit, parameters: P): void;

Parameters

ParameterTypeDescription
toolkitJsPlumbToolkit
parametersP

Returns:

void