documentationfor yFiles for HTML 3.0.0.3

SubgraphLayoutStage

A SubgraphLayoutStage is an ILayoutStage that filters out all graph elements that are not part of a specific subgraph.

Inheritance Hierarchy
LayoutStageBase
SubgraphLayoutStage
Implemented Interfaces

Remarks

The nodes that induce this subgraph can be defined via property subgraphNodes. They will be arranged by the coreLayout.

Optionally, the edges that are included in the subgraph can explicitly be defined via property subgraphEdges. This feature is useful to exclude specific edges from being handled by the coreLayout. If no provider is registered, all edges are included.

In the same way it is also possible to include/exclude node labels or edge labels via properties subgraphNodeLabels and subgraphEdgeLabels.

Default Values of Properties

coreLayoutnull

Type Details

yFiles module
algorithms
All excluded nodes, their incident edges, and explicitly excluded edges keep their locations. Hence, arranging only a subgraph may lead to overlaps.

Constructors

Properties

Methods

Constants