documentationfor yFiles for HTML 2.6

HierarchicLayoutEdgeLayoutDescriptor

This class is used by HierarchicLayoutCore during the various phases to provide routing details for the edges of the graph.

Inheritance Hierarchy
HierarchicLayoutEdgeLayoutDescriptor

Remarks

An HierarchicLayoutEdgeLayoutDescriptor instance can be specified individually for single edges using a IDataProvider that returns an HierarchicLayoutEdgeLayoutDescriptor instance for each edge of the graph, or null if no HierarchicLayoutEdgeLayoutDescriptor is bound to an edge. The IDataProvider is registered with the graph using key EDGE_LAYOUT_DESCRIPTOR_DP_KEY.

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

Default Values of Properties

minimumDistance10.0d
minimumFirstSegmentLength10.0d
minimumLastSegmentLength15.0d
minimumLength20.0d
minimumOctilinearSegmentLength20.0d
minimumSlope0.2
recursiveEdgeStyleOFFEdges are not routed recursively.
sourcePortOptimizationfalsePorts being placed at the side of the node which lies closest to the target of the edge in terms of layering.
targetPortOptimizationfalsePorts being placed at the side of the node which lies closest to the source of the edge in terms of layering.

Type Details

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

See Also

Not all of these values will be considered for all kinds of edges and algorithm settings.

Constructors

Properties