documentationfor yFiles for HTML 2.6

Method Parameters

addHorizontalSegmentSnapLines (GraphSnapContext, CollectGraphSnapLinesEventArgs, IEdge, Point, Point)in EdgeSnapLineProviderAdds horizontal snap lines for a horizontally oriented fixed segment snap lines.
addSnapLines (GraphSnapContext, CollectGraphSnapLinesEventArgs, IModelItem)in EdgeSnapLineProviderAdds the snap lines for the given model item to the evt.
addVerticalSegmentSnapLines (GraphSnapContext, CollectGraphSnapLinesEventArgs, IEdge, Point, Point)in EdgeSnapLineProviderAdds vertical snap lines for a vertically oriented fixed segment snap lines.
collectFixedNodeSnapLines (CollectGraphSnapLinesEventArgs)in GraphSnapContextCollects the OrthogonalSnapLines for the nodes which are not moving.
collectFixedPortSnapLines (CollectGraphSnapLinesEventArgs)in GraphSnapContextCollects the OrthogonalSnapLines for the ports which are not moving.
collectFixedSegmentSnapLines (CollectGraphSnapLinesEventArgs)in GraphSnapContextCollects snap lines for edge segments.
onCollectSnapLines (CollectGraphSnapLinesEventArgs)in GraphSnapContextRaises the CollectSnapLines event.
addSnapLines (GraphSnapContext, CollectGraphSnapLinesEventArgs, IModelItem)in ISnapLineProviderCalled by the GraphSnapContext when a drag is about to start.
create (function(GraphSnapContext, CollectGraphSnapLinesEventArgs, IModelItem):void)in ISnapLineProviderCreates an implementation of the interface ISnapLineProvider by using the given function as implementation for its addSnapLines method.
addCenterSnapLines (GraphSnapContext, CollectGraphSnapLinesEventArgs, INode, Rect)in NodeSnapLineProviderCalled by addSnapLines the collect snap lines for the centers of the node.
addFixedNodeBorderSnapLines (GraphSnapContext, CollectGraphSnapLinesEventArgs, INode, Rect)in NodeSnapLineProviderAdds the fixed snap lines around the border of the nodes' layout.
addNodeToNodeSnapLines (GraphSnapContext, CollectGraphSnapLinesEventArgs, INode, Rect)in NodeSnapLineProviderAdds the fixed snap lines around the node for other nodes to snap to using the nodeToNodeDistance.
addNodeToSegmentSnapLines (GraphSnapContext, CollectGraphSnapLinesEventArgs, INode, Rect)in NodeSnapLineProviderAdds the fixed snap lines around the node for edge segments to snap to.
addPortSnapLines (GraphSnapContext, CollectGraphSnapLinesEventArgs, INode, Rect)in NodeSnapLineProviderCalled by addSnapLines the collect snap lines to snap ports to at the provided node.
addSnapLines (GraphSnapContext, CollectGraphSnapLinesEventArgs, IModelItem)in NodeSnapLineProviderCalled by the GraphSnapContext when a drag is about to start.