Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 22.214.171.124
public class OrthogonalEdgeEditingContext
Public Class OrthogonalEdgeEditingContext
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.