The interface of the callback that is passed to implementations of the IDummyEdgeConverter's AddDummyEdge(IAddDummyEdgeCallback, IFoldedGraph, IEdge, INode, Boolean, INode, Boolean) method.Namespace: yWorks.yFiles.UI.Model
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 22.214.171.124
public interface IAddDummyEdgeCallback
Public Interface IAddDummyEdgeCallback
Implementors of the IDummyEdgeConverter need to use this interface to tell the calling IFoldedGraph view implementation how to add the dummy edge to the given view. They need to call exactly one of the following methods for each callback:
- AddAsSeparateEdge(IPort, IPort) - Call this to add a separate dummy edge for the given master edge to the view. Pass the return value of that method to the caller.
- AddToExistingDummy(IEdge) - Call this to reuse a dummy edge that is already part of the view as a representative for the master edge. Pass the return value of that method to the caller.
- ExcludeDummyEdge()()()() - Call this in order not to add a dummy edge for the master edge to the view at all. Pass nullNothingnullptra null reference (Nothing in Visual Basic) to the caller.