public interface IPortSnapResultProvider
GraphSnapContext
for port
to collect a number of
SnapResult
s during the move/edit operation.
This interface is queried from the ILookup
of the
IPort
s that are being moved during the edit.
Modifier and Type | Method and Description |
---|---|
void |
collectSnapResults(GraphSnapContext context,
CollectSnapResultsEventArgs args,
PointD suggestedLocation,
IPort port)
Called when a node is
dragged
to add SnapResult s for
OrthogonalSnapLine s to which this bend can potentially snap. |
void collectSnapResults(GraphSnapContext context, CollectSnapResultsEventArgs args, PointD suggestedLocation, IPort port)
dragged
to add SnapResult
s for
OrthogonalSnapLine
s to which this bend can potentially snap.context
- The snap context which manages the snap lines and the settings.args
- The event argument to obtain the necessary information from and
add results to
.suggestedLocation
- The location
of the bend if the bend would not snap.port
- The port that is being moved