This class provides layout information about the nodes of the graph during a run of the HierarchicalLayout.
Remarks
HierarchicalLayoutNodeContext is a descriptor for each node of the graph during the hierarchical layout used internally by the algorithm implementations.
Instances of this interface can be obtained during the layout from instances of the HierarchicalLayoutContext.
HierarchicalLayoutNodeContext typically carries the type of the node and depending on the type an optional associatedEdge and associatedNode. Optionally, it may carry a geometric description of the borders of the node and descriptors for various aspects of the layout.
This class cannot be instantiated
Type Details
- yFiles module
- algorithms
Properties
Gets the associated LayoutEdge of the LayoutNode of this HierarchicalLayoutNodeContext instance (for example when the node itself is a bend or same-layer center node).
Property Value
Gets the associated LayoutNode of this HierarchicalLayoutNodeContext instance (for example, when the node itself is a back-loop proxy or side proxy).
Property Value
Gets the column instance bound to the LayoutNode of this HierarchicalLayoutNodeContext instance or null
if the node is not contained in a column of a LayoutGrid.
Remarks
Gets the edge grouping ID of the LayoutNode of this HierarchicalLayoutNodeContext instance if the node is a bus-group node.
Property Value
null
if this node does not belong to an edge group node constructSee Also
Gets the first same-layer edge ListCell<T> of all same-layer edges or null
if there exists no same-layer edge.
Property Value
null
if no same-layer edge existsGets the group node this node belongs to.
Property Value
null
if the associated LayoutNode is a top-level node.Gets the hint of the incremental mode of the LayoutNode of this HierarchicalLayoutNodeContext instance if this node is of type REGULAR.
Remarks
Property Value
Gets the index of the layer instance to which the LayoutNode of this HierarchicalLayoutNodeContext instance belongs.
Property Value
Gets the HierarchicalLayoutNodeDescriptor instance initially bound to the LayoutNode of this HierarchicalLayoutNodeContext instance or null
if no HierarchicalLayoutNodeDescriptor has been registered.
Property Value
null
if no HierarchicalLayoutNodeDescriptor has been registered.Gets the current position of the LayoutNode of this HierarchicalLayoutNodeContext instance within its layer.
Property Value
Gets the number of same-layer edges associated with the LayoutNode of this HierarchicalLayoutNodeContext instance.
Property Value
Gets the type constant for the LayoutNode of this HierarchicalLayoutNodeContext instance.