documentationfor yFiles for HTML 2.6

HierarchicLayoutNodeLayoutDescriptor

This class is used by HierarchicLayoutCore during the various phases to provide the drawing details of the nodes of the graph.

Inheritance Hierarchy
HierarchicLayoutNodeLayoutDescriptor

Remarks

A HierarchicLayoutNodeLayoutDescriptor instance can be specified individually for single nodes using a IDataProvider that returns a HierarchicLayoutNodeLayoutDescriptor instance for each node of the graph, or null if no HierarchicLayoutNodeLayoutDescriptor is bound to an edge. The IDataProvider is registered with the graph with key NODE_LAYOUT_DESCRIPTOR_DP_KEY.

This class is designed as a class to allow future additions of new getter methods.

Default Values of Properties

gridReferenceORIGINThe reference point is and the center of the node is placed on the grid.
layerAlignment0.5dNodes are center-aligned within their corresponding layers.
minimumDistance5.0d
minimumLayerHeight0.0d
nodeLabelModeCONSIDER_FOR_DRAWINGNode labels will be considered for node placement and routing, but not for self-loops.
portAssignmentDEFAULTPorts are distributed evenly along the border of the node.
portBorderGapRatios0.5dPorts are distributed along the sides of the node.
tabularGroupChildDistance0

Type Details

yfiles module
layout-hierarchic
yfiles-umd modules
layout-familytree, layout-hierarchic, layout-radial, layout
Legacy UMD name
yfiles.hierarchic.NodeLayoutDescriptor

See Also

Not all of these values will be used for all kinds of edges and any kind of algorithm.

Constructors

Properties

Methods