documentationfor yFiles for HTML 2.6

Properties

additionalSnapLinesin GraphSnapContextGets the collection of additional OrthogonalSnapLines.
fixedNodeSnapLinesin GraphSnapContextGets the collection of OrthogonalSnapLines for fixed nodes.
fixedPortSnapLinesin GraphSnapContextGets the collection of OrthogonalSnapLines to which ports should be snapping.
fixedSegmentSnapLinesin GraphSnapContextGets the collection of OrthogonalSnapLines for fixed segments.

Method Return Values

getDummyEdgeSnapLines (GraphSnapContext, ISnapLineProvider)in CreateEdgeInputModeGets the snap lines lines that are induced by the current dummy edge.
getAdditionalSnapLines (SnapLineOrientation, SnapLineSnapTypes, Rect)in GraphSnapContextGets a subset of additionalSnapLines that matches the given orientation, snapType and intersects with the provided area.
getFixedNodeSnapLines (SnapLineOrientation, SnapLineSnapTypes, Rect)in GraphSnapContextGets a subset of fixedNodeSnapLines that matches the given orientation, snapType and intersects with the provided area.
getFixedPortSnapLines (SnapLineOrientation, SnapLineSnapTypes, Rect)in GraphSnapContextGets a subset of fixedPortSnapLines that matches the given orientation, snapType and intersects with the provided area.
getFixedSegmentSnapLines (SnapLineOrientation, SnapLineSnapTypes, Rect)in GraphSnapContextGets a subset of fixedSegmentSnapLines that matches the given orientation, snapType and intersects with the provided area.
createCenterSnapLine (GraphSnapContext, INode, SnapLineOrientation, Point)in NodeSnapLineProviderCreates a snap line for the center of nodes.

Extending Types

NodeBasedSnapLineA specialized OrthogonalSnapLine that stores a node as additional information that can be used for the visualization.
NodePairBasedSnapLineA specialized OrthogonalSnapLine that stores two nodes as additional information that can be used for the visualization.
PointBasedSnapLineA specialized OrthogonalSnapLine that stores a point instance as additional information that can be used for the visualization.