Simple implementation of the IEdgePortCandidateProvider
interface that returns a union of all GetSourcePortCandidates(IInputModeContext)
or GetTargetPortCandidates(IInputModeContext) respectively of the entities in the graph.
Namespace: yWorks.yFiles.UI.InputAssembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.1.0.2
Syntax
| C# |
|---|
public class AllCandidatesEdgePortCandidateProvider : IEdgePortCandidateProvider |
| Visual Basic |
|---|
Public Class AllCandidatesEdgePortCandidateProvider _ Implements IEdgePortCandidateProvider |
Remarks
This implementation can be used to allow for relocating an edge's port to
any available source or target port in the graph.
Inheritance Hierarchy
System..::..Object
yWorks.yFiles.UI.Input..::..AllCandidatesEdgePortCandidateProvider
yWorks.yFiles.UI.Input..::..AllCandidatesEdgePortCandidateProvider