public interface INodeSnapResultProvider
GraphSnapContext
for nodes
to collect a number of
SnapResult
s during the move/edit operation.
This interface is queried from the ILookup
of the
INode
s 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 SnapResult s for
OrthogonalSnapLine s to which this node can potentially snap. |
void collectSnapResults(GraphSnapContext context, CollectSnapResultsEventArgs args, RectD suggestedLayout, INode node)
dragged
to add SnapResult
s for
OrthogonalSnapLine
s 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.