documentationfor yFiles for HTML 3.0.0.3

HierarchicalLayoutSubcomponentDescriptor

A HierarchicalLayoutSubcomponentDescriptor defines settings for subcomponents that are arranged by a different layout algorithm than their containing graph for HierarchicalLayout.

Inheritance Hierarchy
HierarchicalLayoutSubcomponentDescriptor

Remarks

Property layoutAlgorithm defines the algorithm that is responsible for arranging the subcomponent. The placementPolicy specifies the integration into the main hierarchical layout.

Nodes mapped to the same HierarchicalLayoutSubcomponentDescriptor instance form a component that is arranged as an independent sub-graph, induced by the component nodes. The mapping is retrieved from subcomponents. Components may not be nested, that is, a subcomponent is not allowed to contain nodes that belong to yet another subcomponent. Nesting of subcomponents results in an exception.

A graph in HierarchicalLayout with subcomponents in 3 layout styles. Blue: Organic, Green: Hierarchical, Orange: Tree

Default Values of Properties

layoutAlgorithmnull
placementPolicyAUTOMATICIt is automatically determined how the subcomponent is placed.

Type Details

yFiles module
algorithms

See Also

Constructors

Properties

Methods