I

IBendSnapResultProvider

Interface that is used by the GraphSnapContext for bends to collect a number of SnapResults during the move/edit operation.
Inheritance Hierarchy

Remarks

This interface is queried from the ILookup of the IBends that are being moved during the edit.

See Also

API

GraphSnapContext, snapResultProvider

Members

No filters for this type

Methods

Called when a node is dragged to add SnapResults for OrthogonalSnapLines to which this bend 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.
suggestedLocation: Point
The location of the bend if the bend would not snap.
bend: IBend
The bend that is being moved.

Static Methods

static

Parameters

collectSnapResults: function(GraphSnapContext, CollectSnapResultsEventArgs, Point, IBend): void

Return Value

IBendSnapResultProvider