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
Members
No filters for this type
Methods
Called when a node's handle is dragged to add SnapResults for OrthogonalSnapLines or sizes to which this node can potentially snap during resizing.
Called when a node's handle is dragged to add SnapResults for OrthogonalSnapLines or sizes to which this node can potentially snap during resizing.
abstract
Parameters
- 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.
Implemented in
NodeReshapeSnapResultProvider.collectSnapResultsStatic Methods
create
(collectSnapResults: function(GraphSnapContext, CollectSnapResultsEventArgs, INode, ReshapeRectangleContext): void): INodeReshapeSnapResultProviderstatic
create
(collectSnapResults: function(GraphSnapContext, CollectSnapResultsEventArgs, INode, ReshapeRectangleContext): void): INodeReshapeSnapResultProviderstatic
static
Parameters
- collectSnapResults: function(GraphSnapContext, CollectSnapResultsEventArgs, INode, ReshapeRectangleContext): void