Interface for classes that help during snapping of parts of edges.
Inheritance Hierarchy
IEdgeSnapResultProvider
Remarks
An implementation of this class is obtained from the lookup of the IEdges which are being edited during an operation where graph snapping is involved.
Type Details
- yFiles module
- view
See Also
Methods
collectSnapResults
(context: GraphSnapContext, evt: CollectSnapResultsEventArgs, movementInfos: IListEnumerable<MovementInfo>, edge: IEdge)Called during the snapping operation whenever snap results are collected.
Remarks
This method will be called for each collection of the results.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- context - GraphSnapContext
- The context that is using this instance.
- evt - CollectSnapResultsEventArgs
- The event argument to obtain the necessary information from and add results to.
- movementInfos - IListEnumerable<MovementInfo>
- The movement infos that describe the
edge
. - edge - IEdge
- The edge for which the SnapResults should be collected.