Assembly: yWorks.yFilesWPF.Viewer (in yWorks.yFilesWPF.Viewer.dll) Version: 2.2.0.2 (2.2.0.2)
Syntax
| C# |
|---|
public class OrthogonalEdgeEditingContext |
| Visual Basic |
|---|
Public Class OrthogonalEdgeEditingContext |
Remarks
This class will be queried from the IInputModeContext of implementations of IPositionHandler, IHandle, and IReshapeHandler that support orthogonal editing of edges.
In a first step, the edit (which is a movement of one or more IPorts, IBends, edge ends, or IPortOwners) is being initialized before anything has been changed. Then, client code that seeks to modify the graph, uses the methods AddExplicitlyMovedBend(BendMovementInfo), AddMovedEdgeEnd(EdgeEndMovementInfo), AddMovedPort(PortMovementInfo), and AddTransformedPortOwner(IPortOwner). In the next step, the drag is being initialized and all affected edges will be prepared so that the editing will not destroy the orthogonality. Interested editors now get the chance to register and negotiate implicitly moved bends. Then the actual editing is performed and the edit is either canceled, in which case the added bends are removed or the edit is finished and the affected edges are being cleaned up.
Inheritance Hierarchy
yWorks.yFiles.UI.Input..::..OrthogonalEdgeEditingContext