Simple implementation of the
IEdgePortCandidateProvider
interface that returns a union of all source port candidates or
target port candidates, respectively, of the entities in the graph.
This implementation can be used to allow for relocating an edge's port to
any available source or target port in the graph.
public function getSourcePortCandidates(context:IInputModeContext):Iterable
Returns the union of all source port candidates
of the graph's nodes.
Parameters
Returns | Iterable — A collection of all source port candidates in the graph.
|
public function getTargetPortCandidates(context:IInputModeContext):Iterable
Returns the union of all target port candidates
of the graph's nodes.
Parameters
Returns | Iterable — A collection of all target port candidates in the graph.
|
Wed Oct 7 2015, 04:52 PM +02:00