documentationfor yFiles for HTML 3.0.0.3

Method Return Values

getPreviewEdgeSnapLines (GraphSnapContext)in CreateEdgeInputModeGets the snap references that are induced by the current preview edge.
createCenterSnapLine (GraphSnapContext, SnapLineOrientation, Point)in NodeSnapReferenceProviderCreates a snap line for the center of the node.

Method Parameters

collectOrthogonalLineSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, OrthogonalSnapLine, IOrientedRectangle, ILabel)in LabelSnapResultProviderCollects snap results that snap the center or any border of the bounds of the label to the given snapLine.
collectOrthogonalLineSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, OrthogonalSnapLine, INode, ReshapeRectangleContext, Rect)in NodeReshapeSnapResultProviderCollects the snap results that make the node's bounds snap to the snapLine.
collectOrthogonalLineSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, OrthogonalSnapLine, Rect, INode)in NodeSnapResultProviderVerifies whether the node will snap to the given snap line.