Interface for an implementation which evaluates a list of given SnapLines for a node which is resized and adds a set of SnapResults for sizes to which this node can potentially snap.
Inheritance Hierarchy
INodeReshapeSnapResultProvider
Type Details
- yFiles module
- view
Methods
collectSnapResults
(context: GraphSnapContext, evt: CollectSnapResultsEventArgs, node: INode, reshapeContext: ReshapeRectangleContext)Called when a node's handle is dragged to add SnapResults for OrthogonalSnapLines or sizes to which this node can potentially snap during resizing.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- context - GraphSnapContext
- The snap context which manages the snap lines and the settings.
- evt - CollectSnapResultsEventArgs
- The event argument to obtain the context from and add the results to.
- node - INode
- The node that is being reshaped.
- reshapeContext - ReshapeRectangleContext
- Carries information about the reshape operation.