C

SequentialLayout

Represents a layout that sequentially executes multiple layout algorithms.
ImplementsInheritance Hierarchy

Remarks

The layout algorithms are executed one after the other in the order they are in the layouts list. Each algorithm runs independently and only affects the graph based on the changes made by previous algorithms.

Members

No filters for this type

Constructors

Initializes a new instance of the SequentialLayout class with an optional collection of layout algorithms.

Parameters

layouts: ILayoutAlgorithm
An optional array of ILayoutAlgorithm to be added to the layout chain.

Properties

Gets the collection of layout algorithms that are executed sequentially.
readonlyfinal

Property Value

A list of layout algorithms.

Methods

Executes all layout algorithms in the chain sequentially.

Parameters

graph: LayoutGraph
The input graph on which the layouts are applied.