Routing style specifier.

Namespace: yWorks.yFiles.Layout.Router
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version:


public enum RoutingStyle
Visual Basic
Public Enumeration RoutingStyle


Member nameValueDescription
Adhoc0Routing style specifier. Edge segments are drawn ad hoc, i.e., rather crude.
Shortpath1Routing style specifier. Edge segments are drawn the short way, i.e., with the global way of the edge in mind.
Prefermiddle2 Routing style specifier. Edge segments are drawn with the most distance to already known obstacles such as nodes or other edge segments.
Balanced3 Routing style specifier. Similar to Prefermiddle for the two end segments and segments between bends of different directions. Segments between bends of the same direction (u-shaped turns) are drawn the short way. This style achieves a well-balanced routing and is used by default.

See Also