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.yFilesNET.Viewer (in yWorks.yFilesNET.Viewer.dll) Version: 4.1.0.1 (4.1.0.1)

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

See Also