C

HierarchicalLayoutContext

This class provides context during the HierarchicalLayout, like HierarchicalLayoutNodeContext and HierarchicalLayoutEdgeContext instances for elements in the current layout graph.
Inheritance Hierarchy

Remarks

Instances of this class are provided by HierarchicalLayoutCore and HierarchicalLayout for instances implementing sub-tasks during the layout.

This class cannot be instantiated

See Also

API

HierarchicalLayout

Members

Show:

Properties

All properties are filtered. Go to Filters.

Methods

Creates and inserts a layer of a given type into the list of layers.
final

Parameters

type: HierarchicalLayoutLayerType
One of the predefined layer types as defined with property type in class HierarchicalLayoutLayer.
position: number
The index at which the specified layer is to be inserted.

Return Value

HierarchicalLayoutLayer
A new HierarchicalLayoutLayer instance.
Removes the layer at the specified position from the list of layers.
final

Parameters

index: number
the zero-based index of the layer to remove