Enumeration used by BridgeManager that determines how crossings between obstacles and paths are determined.

Namespace: yWorks.Canvas.Model
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

Syntax

C#
public enum CrossingDetermination
Visual Basic
Public Enumeration CrossingDetermination

Members

Member nameValueDescription
HorizontalBridgesVertical0 Makes horizontal segments bridge over vertical obstacles. Horizontal segments do not cross each other, as well as vertical ones will not cross each other. Horizontal segment are segments with a slope between 1 and -1. All others are vertical segments. For non-parallel intersecting pairs of segments there does not need to be a crossing unless only one of them is vertical.
VerticalBridgesHorizontal1 Makes vertical segments bridge over vertical obstacles. Horizontal segments do not cross each other, as well as vertical ones will not cross each other. Horizontal segment are segments with a slope between 1 and -1. All others are vertical segments. For non-parallel intersecting pairs of segments there does not need to be a crossing unless only one of them is horizontal.
MoreHorizontalBridgesLessHorizontal2 Makes more horizontal edges bridge over edges which are less horizontal. The smaller the absolute slope of an edge, the more horizontal it is. For each non-parallel intersecting pair of segments, there will be a crossing.
MoreVerticalBridgesLessVertical3 Makes more vertical edges bridge over edges which are less vertical. The larger the absolute slope of an edge, the more vertical it is. For each non-parallel intersecting pair of segments, there will be a crossing.

See Also