Interface that is used by the GraphSnapContext for nodes to collect a number of SnapResults during the move/edit operation.
Inheritance Hierarchy
Remarks
See Also
Members
No filters for this type
Methods
Called when a node is dragged to add SnapResults for OrthogonalSnapLines to which this node can potentially snap.
Called when a node is dragged to add SnapResults for OrthogonalSnapLines to which this node can potentially snap.
abstract
Parameters
- context: GraphSnapContext
- The snap context which manages the snap lines and the settings.
- evt: CollectSnapResultsEventArgs
- The event argument to obtain the necessary information from and add results to.
- suggestedLayout: Rect
- The layout of the node if the node would not snap.
- node: INode
- The node that is being moved.
Implemented in
NodeSnapResultProvider.collectSnapResultsStatic Methods
create
(collectSnapResults: function(GraphSnapContext, CollectSnapResultsEventArgs, Rect, INode): void): INodeSnapResultProviderstatic
create
(collectSnapResults: function(GraphSnapContext, CollectSnapResultsEventArgs, Rect, INode): void): INodeSnapResultProviderstatic
static
Parameters
- collectSnapResults: function(GraphSnapContext, CollectSnapResultsEventArgs, Rect, INode): void