public interface INodeSnapResultProvider
GraphSnapContext for nodes to collect a number of
SnapResults during the move/edit operation.
This interface is queried from the ILookup of the
INodes that are being moved during the edit.
| Modifier and Type | Method and Description |
|---|---|
void |
collectSnapResults(GraphSnapContext context,
CollectSnapResultsEventArgs args,
RectD suggestedLayout,
INode node)
Called when a node is
dragged
to add SnapResults for
OrthogonalSnapLines to which this node can potentially snap. |
void collectSnapResults(GraphSnapContext context, CollectSnapResultsEventArgs args, RectD suggestedLayout, INode node)
dragged
to add SnapResults for
OrthogonalSnapLines to which this node 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.suggestedLayout - The layout of the node if the node would not snap.node - The node that is being moved.