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.Input
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

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. Note that the candidates of edges will not be returned by default unless the AddEdgeCandidates property is set to trueTruetruetrue (True in Visual Basic)

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.UI.Input..::..AllCandidatesEdgePortCandidateProvider

See Also