C

TopologicalLayerAssigner

This class implements the layering phase of the HierarchicalLayout (i.e., assignment of the nodes to layers).
ImplementsInheritance Hierarchy

Remarks

It uses topological sorting to assign layers to the nodes.

Default Values of Properties

NameDefaultDescription
rerankingPolicyLayerRerankingPolicy.NONE
layers are not reranked

See Also

Developer's Guide

Members

No filters for this type

Constructors

Creates a new instance of TopologicalLayerAssigner with default settings.

Parameters

Properties

Gets or sets the policy for reranking the layers used by this TopologicalLayerAssigner instance.
conversionfinal

Property Value

one of the predefined reranking policies

Default Value

The default value is: LayerRerankingPolicy.NONE
layers are not reranked

Methods

Assigns all nodes of the graph to layers and adds them to the layers in the given layoutContext.

Parameters

graph: LayoutGraph
The input graph
layoutContext: HierarchicalLayoutContext
The HierarchicalLayoutContext used for querying information about the nodes and edges