Callback interface for instances that can create bends for an edge and graph.
Inheritance Hierarchy
Remarks
Implementations of this interface may be found in the lookup of IEdge instances. This interface is used by GraphEditorInputMode to create new bends for an edge as soon as the user performs the bend creation gesture.
See Also
Members
No filters for this type
Methods
Creates a bend at the position supplied at the given graph for the edge whose lookup provided this creator.
Creates a bend at the position supplied at the given graph for the edge whose lookup provided this creator.
abstract
Parameters
- context: IInputModeContext
- The context for which the bend should be created.
- graph: IGraph
- The graph, the edge belongs to.
- location: Point
- The preferred coordinates of the bend.
Return Value
- number
- The index of the bend in the edge's bends or
-1if no bend has been created.
Constants
A static instance that does not create any bends.
A static instance that does not create any bends.