Type constant for the LayoutNode for the nodes of the graph during a run of the HierarchicalLayout.
Type Details
- yFiles module
- algorithms
Constants
A constant describing a bend LayoutNode.
Remarks
2
, small size, and no same-layer edges.See Also
A constant describing a LayoutNode used for the drawing phase to keep the distance between two nodes.
A constant describing a LayoutNode that is used during the sequencing and drawing phase for the bus-style routing at the root node of a grid component.
Remarks
See Also
A constant describing a LayoutNode used during the drawing phase for marking the beginning of a node group interval.
A constant describing a LayoutNode used during the drawing phase for marking the ending of a node group interval.
A constant describing a LayoutNode used during the sequencing and drawing phase for marking a helper/proxy node inserted as a legal endpoint of an edge connecting a descendant node to a group node.
Remarks
0
or 1
depending on whether or not the opposite node of the edge is assigned to the same layer. This kind of proxy nodes is only used if there are edges that shall connect to the group node without back-loops.See Also
A constant describing a LayoutNode used during the sequencing and drawing phase for marking a helper/proxy node inserted as a legal endpoint of an edge connecting to a group node.
A constant describing a LayoutNode used during sequencing and drawing phase for routing an LayoutEdge recursively.
Remarks
See Also
A constant describing a regular LayoutNode.
Remarks
See Also
A constant describing a same-layer edge crossing helper LayoutNode.
Remarks
2
, small size, and exactly two same-layer edges. It is used for marking the crossing of the layer, if source and target port are at opposite layer sides.See Also
A constant describing a side proxy LayoutNode for drawing same-layer edges.
Remarks
0
, small size, and one same-layer edge. The associated node is the one of which this node is the proxy. The associated edge is the same-layer edge of which this node is the proxy.See Also
A constant describing a side proxy LayoutNode.
Remarks
1
, small size, and no same-layer edges. The associated node is the one of which this node is the proxy.See Also
A constant describing a back-loop proxy that belongs to the source of an edge.
Remarks
2
, small size, and exactly one same-layer edge.See Also
A constant describing a source group LayoutNode for bus edges.
A constant describing a back-loop proxy that belongs to the target of an edge.
Remarks
2
, small size, and exactly one same-layer edge.See Also
A constant describing a target group LayoutNode for bus edges.
Static Methods
Converts the given argument to an enum constant of this enum type.
Remarks
Parameters
A map of options to pass to the method.
- value - HierarchicalLayoutNodeType
- The value to convert to an enum constant.
Returns
- ↪HierarchicalLayoutNodeType
- The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
Parameters
A map of options to pass to the method.
- value - HierarchicalLayoutNodeType
- The numeric value of an enum constant.
Returns
- ↪string
- The name of the enum constant.
Throws
- Exception({ name: 'Error' })
- If this type is a flags enums, and the provided value doesn't correspond to a single enum constant, or if this enum type contains no constant of the given numeric value.