documentationfor yFiles for HTML 2.6

EdgeRouterEdgeLayoutDescriptor

This class is used by EdgeRouter to provide routing details for the edges of the graph.

Inheritance Hierarchy
EdgeRouterEdgeLayoutDescriptor

Remarks

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

This class is designed such that it allows future additions of new getter methods.

Default Values of Properties

curveShortcutsfalseCurved edges do not shortcut.
curveUTurnSymmetry0The symmetry of u-turns is not specifically optimized.
minimumEdgeToEdgeDistance3.0
minimumFirstSegmentLength5.0
minimumLastSegmentLength10.0
minimumNodeCornerDistance3.0
monotonicPathRestrictionNONENo path restrictions are used.
preferredOctilinearSegmentLength30
routingPolicyALWAYSThe edge is routed, ignoring the existing sketch.
routingStyleORTHOGONAL

Type Details

yfiles module
layout-core
yfiles-umd modules
All layout modules, view-layout-bridge
Legacy UMD name
yfiles.router.EdgeLayoutDescriptor

See Also

Not all of the values contained in this class will be considered for all kinds of edges and algorithm settings.

Constructors

Properties

Methods