Package | Description |
---|---|
com.yworks.yfiles.graph |
Definitions, default implementations, and support classes that represent graph structures and provide facilities for their programmatic modification.
|
com.yworks.yfiles.graph.styles |
Contains interfaces and default implementations for graph element styles.
|
com.yworks.yfiles.graphml |
Definitions, default implementations, and support classes for GraphML I/O support.
|
com.yworks.yfiles.layout |
Provides essential classes and interfaces that constitute the infrastructure for automatic graph layout generation.
|
com.yworks.yfiles.layout.circular |
Provides circular layout style algorithms.
|
com.yworks.yfiles.layout.hierarchic |
Provides hierarchic layout style algorithms.
|
com.yworks.yfiles.layout.labeling |
Provides algorithms for the automatic placement of node and edge labels, so called generic labeling algorithms.
|
com.yworks.yfiles.layout.multipage |
Provides the
MultiPageLayout that subdivides the input graph into several smaller graphs whose layouts fit the specified maximum page size. |
com.yworks.yfiles.layout.organic |
Provides organic layout style algorithms that are based on a force-directed layout paradigm.
|
com.yworks.yfiles.layout.orthogonal |
Provides orthogonal layout style algorithms.
|
com.yworks.yfiles.layout.partial |
Provides class
PartialLayout that enables layout of user-specified, distinct parts of a diagram without altering the existing layout of the remainder of the diagram. |
com.yworks.yfiles.layout.radial |
Provides the radial layout algorithm.
|
com.yworks.yfiles.layout.router |
Provides classes for automatic routing of the edges in a graph.
|
com.yworks.yfiles.layout.router.polyline |
Provides classes and interfaces for automatic polyline routing of the edges of a graph.
|
com.yworks.yfiles.layout.seriesparallel |
Provides the series-parallel layout algorithm.
|
com.yworks.yfiles.layout.tree |
Provides tree layout style algorithms.
|
com.yworks.yfiles.view |
Contains the main UI classes, interfaces, default implementations and support classes that can be used to display
IGraph instances. |
com.yworks.yfiles.view.input |
Contains definitions, default implementations, and support classes that deal with the user interaction in a
CanvasControl in general, as well as specialized utility classes and IInputMode implementations that can be used to work with and edit IGraph instances in a GraphControl . |
Modifier and Type | Class and Description |
---|---|
class |
SimpleEdge
A simple mutable implementation of the
IEdge interface that can be used stand-alone. |
Modifier and Type | Method and Description |
---|---|
IEdge |
IFoldingEdgeFactory.addAsSeparateEdge(IPort sourcePort,
IPort targetPort)
Tells the
IFoldingView implementation to add the edge provided to the IFoldingEdgeConverter.addFoldingEdge(IFoldingEdgeFactory, com.yworks.yfiles.graph.IFoldingView, IEdge, com.yworks.yfiles.graph.INode, boolean, com.yworks.yfiles.graph.INode, boolean)
method as a separate folding edge to the view at the given ports. |
protected IEdge |
MergingFoldingEdgeConverter.addFirstSeparateEdge(IFoldingEdgeFactory factory,
IFoldingView foldingView,
IEdge masterEdge,
INode viewSourceNode,
boolean sourceIsCollapsed,
INode targetSourceNode,
boolean targetIsCollapsed)
Adds the first separate edge to the source and target node pair using the
IFoldingEdgeFactory.addAsSeparateEdge(com.yworks.yfiles.graph.IPort, com.yworks.yfiles.graph.IPort)
method. |
IEdge |
MergingFoldingEdgeConverter.addFoldingEdge(IFoldingEdgeFactory factory,
IFoldingView foldingView,
IEdge masterEdge,
INode source,
boolean sourceIsCollapsed,
INode target,
boolean targetIsCollapsed)
Tries to add the folding edge to an
existing folding edge,
considering the EdgeDirectionIgnoringEnabled property. |
IEdge |
IFoldingEdgeConverter.addFoldingEdge(IFoldingEdgeFactory factory,
IFoldingView foldingView,
IEdge masterEdge,
INode source,
boolean sourceIsCollapsed,
INode target,
boolean targetIsCollapsed)
This method gets called by the
IFoldingView implementation to determine whether a given edge in the MasterGraph
should be represented by a folding edge in the given view. |
IEdge |
ExcludingFoldingEdgeConverter.addFoldingEdge(IFoldingEdgeFactory factory,
IFoldingView foldingView,
IEdge masterEdge,
INode source,
boolean sourceIsCollapsed,
INode target,
boolean targetIsCollapsed)
Always calls
IFoldingEdgeFactory.excludeFoldingEdge() . |
IEdge |
DefaultFoldingEdgeConverter.addFoldingEdge(IFoldingEdgeFactory factory,
IFoldingView foldingView,
IEdge masterEdge,
INode source,
boolean sourceIsCollapsed,
INode target,
boolean targetIsCollapsed)
Actually adds the folding edge as a
separate edge
to the view, reusing existing view ports of the
original source and target port, if ReusingMasterPortsEnabled is enabled and that
is possible for the given edge. |
abstract IEdge |
AbstractFoldingEdgeConverter.addFoldingEdge(IFoldingEdgeFactory factory,
IFoldingView foldingView,
IEdge masterEdge,
INode source,
boolean sourceIsCollapsed,
INode target,
boolean targetIsCollapsed) |
IEdge |
IFoldingEdgeFactory.addToExistingFoldingEdge(IEdge foldingEdge)
Tells the
IFoldingView implementation to logically add the edge provided to the IFoldingEdgeConverter.addFoldingEdge(IFoldingEdgeFactory, com.yworks.yfiles.graph.IFoldingView, IEdge, com.yworks.yfiles.graph.INode, boolean, com.yworks.yfiles.graph.INode, boolean)
method to a folding edge that already exists in the view. |
IEdge |
FoldingEdgeState.asEdge()
Returns an
IEdge instance which represents this edge state. |
protected IEdge |
GraphCopier.copyEdge(IGraph sourceGraph,
IGraph targetGraph,
IEdge sourceEdge,
IPort targetSourcePort,
IPort targetTargetPort)
Callback method that adds an edge to the targetGraph as a copy of the source edge.
|
default IEdge |
IGraph.createEdge(INode source,
INode target)
Convenience method that creates and returns an edge that connects to the given node instances using the given style
instance.
|
default IEdge |
IGraph.createEdge(INode source,
INode target,
IEdgeStyle style)
Convenience method that creates and returns an edge that connects to the given node instances using the given style
instance.
|
IEdge |
IGraph.createEdge(INode source,
INode target,
IEdgeStyle style,
Object tag)
Convenience method that creates and returns an edge that connects to the given node instances using the given style
instance.
|
IEdge |
DefaultGraph.createEdge(INode source,
INode target,
IEdgeStyle style,
Object tag)
Convenience method that creates and returns an edge that connects to the given node instances using the given style
instance.
|
IEdge |
AbstractGraphWrapper.createEdge(INode source,
INode target,
IEdgeStyle style,
Object tag) |
default IEdge |
IGraph.createEdge(IPort sourcePort,
IPort targetPort)
Creates and returns an edge that connects to the given port instances.
|
default IEdge |
IGraph.createEdge(IPort sourcePort,
IPort targetPort,
IEdgeStyle style)
Creates and returns an edge that connects to the given port instances.
|
IEdge |
IGraph.createEdge(IPort sourcePort,
IPort targetPort,
IEdgeStyle style,
Object tag)
Creates and returns an edge that connects to the given port instances.
|
IEdge |
DefaultGraph.createEdge(IPort sourcePort,
IPort targetPort,
IEdgeStyle style,
Object tag) |
IEdge |
AbstractGraphWrapper.createEdge(IPort sourcePort,
IPort targetPort,
IEdgeStyle style,
Object tag) |
IEdge |
IFoldingEdgeFactory.excludeFoldingEdge()
Tells the
IFoldingView implementation not to add a folding edge for the edge provided to
the IFoldingEdgeConverter.addFoldingEdge(IFoldingEdgeFactory, com.yworks.yfiles.graph.IFoldingView, IEdge, com.yworks.yfiles.graph.INode, boolean, com.yworks.yfiles.graph.INode, boolean)
method in this view. |
default IEdge |
IGraph.getEdge(IPort sourcePort,
IPort targetPort)
Finds an edge that connects
sourcePort and targetPort in the given graph. |
default IEdge |
IGraph.getEdge(IPortOwner from,
IPortOwner to)
Finds an edge that connects
from and to in the given graph. |
protected IEdge |
GraphClipboard.getFoldingEdgeState(IEdge edge,
FoldingEdgeStateId id)
Gets a folding state of an edge for a given
FoldingEdgeStateId . |
IEdge |
FoldingEdgeStateId.getMasterEdge()
The edge instance in the
MasterGraph that is represented
by the folding edge in a view. |
IEdge |
SimpleBend.getOwner() |
IEdge |
IBend.getOwner()
Returns the edge this bend instance belongs to.
|
IEdge |
BendEventArgs.getOwner()
Gets the owner of the bend that owned the bend before the event happened.
|
protected IEdge |
GraphClipboard.getTarget(IBend originalBend)
Provides an
IEdge where the given originalBend can be added to. |
Modifier and Type | Method and Description |
---|---|
default <V> IMapper<IEdge,V> |
IMapperRegistry.createConstantMapper(Class<V> valueType,
EdgeDpKey<V> tag,
V constant)
|
default <V> IMapper<IEdge,V> |
IMapperRegistry.createDelegateMapper(Class<V> valueType,
EdgeDpKey<V> tag,
Function<IEdge,V> getter)
|
default <V> Mapper<IEdge,V> |
IMapperRegistry.createMapper(Class<V> valueType,
EdgeDpKey<V> tag)
|
default <V> Mapper<IEdge,V> |
IMapperRegistry.createWeakMapper(Class<V> valueType,
EdgeDpKey<V> tag)
|
default IListEnumerable<IEdge> |
IGraph.edgesAt(IPort port)
Convenience method that yields all adjacent edges at the given port.
|
IListEnumerable<IEdge> |
IGraph.edgesAt(IPort port,
AdjacencyTypes type)
Returns an
Iterable for all edges that are adjacent to the given port as a SourcePort
or TargetPort . |
IListEnumerable<IEdge> |
FilteredGraphWrapper.edgesAt(IPort port,
AdjacencyTypes type) |
IListEnumerable<IEdge> |
DefaultGraph.edgesAt(IPort port,
AdjacencyTypes type) |
IListEnumerable<IEdge> |
AbstractGraphWrapper.edgesAt(IPort port,
AdjacencyTypes type) |
default IListEnumerable<IEdge> |
IGraph.edgesAt(IPortOwner owner)
Convenience method that yields all adjacent edges at the given owner.
|
IListEnumerable<IEdge> |
IGraph.edgesAt(IPortOwner owner,
AdjacencyTypes type)
Returns an
IListEnumerable for all edges that have the given port owner as their target port's
or source port's Owner depending on the AdjacencyTypes . |
IListEnumerable<IEdge> |
FilteredGraphWrapper.edgesAt(IPortOwner owner,
AdjacencyTypes type) |
IListEnumerable<IEdge> |
DefaultGraph.edgesAt(IPortOwner owner,
AdjacencyTypes type) |
IListEnumerable<IEdge> |
AbstractGraphWrapper.edgesAt(IPortOwner owner,
AdjacencyTypes type) |
LookupDecorator<IEdge,IBendCreator> |
EdgeDecorator.getBendCreatorDecorator()
Gets a
LookupDecorator that decorates the IBendCreator type for the
IEdge s of the graph this instance has been created for. |
LookupDecorator<IEdge,IBendSelectionTester> |
EdgeDecorator.getBendSelectionTesterDecorator()
Gets a
LookupDecorator that decorates the IBendSelectionTester type for the
IEdge s of the graph this instance has been created for. |
LookupDecorator<IEdge,IClipboardHelper> |
EdgeDecorator.getClipboardHelperDecorator()
Gets a
LookupDecorator that decorates the IClipboardHelper type for the type of items this instance has
been created for. |
<TInterface> |
EdgeDecorator.getDecoratorFor(Class<TInterface> interfaceType)
|
<TInterface> |
EdgeDecorator.getDecoratorFor(Class<TInterface> interfaceType,
boolean decorateNulls)
|
<TInterface> |
EdgeDecorator.getDecoratorFor(Class<TInterface> interfaceType,
boolean decorateNulls,
boolean nullIsFallback)
|
LookupDecorator<IEdge,IEdgePortHandleProvider> |
EdgeDecorator.getEdgePortHandleProviderDecorator()
Gets a
LookupDecorator that decorates the IEdgePortHandleProvider type for the type of items this
instance has been created for. |
Predicate<IEdge> |
FilteredGraphWrapper.getEdgePredicate()
Gets the predicate function for the edges.
|
LookupDecorator<IEdge,IEdgeReconnectionPortCandidateProvider> |
EdgeDecorator.getEdgeReconnectionPortCandidateProviderDecorator()
Gets a
LookupDecorator that decorates the IEdgeReconnectionPortCandidateProvider type for the
IEdge s of the graph this instance has been created for. |
IListEnumerable<IEdge> |
IGraph.getEdges()
A view of the edges contained in this graph.
|
IListEnumerable<IEdge> |
FilteredGraphWrapper.getEdges() |
IListEnumerable<IEdge> |
DefaultGraph.getEdges() |
IListEnumerable<IEdge> |
AbstractGraphWrapper.getEdges() |
LookupDecorator<IEdge,IEdgeSnapResultProvider> |
EdgeDecorator.getEdgeSnapResultProviderDecorator()
Gets a
LookupDecorator that decorates the IEdgeSnapResultProvider type for the
IEdge s of the graph this instance has been created for. |
LookupDecorator<IEdge,IEditLabelHelper> |
EdgeDecorator.getEditLabelHelperDecorator()
Gets a
LookupDecorator that decorates the IEditLabelHelper type for the
IEdge s this instance has been created for. |
IEnumerable<IEdge> |
IFoldingEdgeFactory.getExistingFoldingEdges(boolean ignoreDirection)
Helper methods that can be used by the implementation of the
IFoldingEdgeConverter.addFoldingEdge(IFoldingEdgeFactory, com.yworks.yfiles.graph.IFoldingView, IEdge, com.yworks.yfiles.graph.INode, boolean, com.yworks.yfiles.graph.INode, boolean)
method to determine the folding edges that are currently part of the view and interconnect the same nodes as the folding
edge would, if it was included in the view. |
LookupDecorator<IEdge,IFocusIndicatorInstaller> |
EdgeDecorator.getFocusIndicatorDecorator()
Gets a
LookupDecorator that decorates the IFocusIndicatorInstaller type for the type of items this
instance has been created for. |
LookupDecorator<IEdge,IHandleProvider> |
EdgeDecorator.getHandleProviderDecorator()
Gets a
LookupDecorator that decorates the IHandleProvider type for the type of items this instance has
been created for. |
LookupDecorator<IEdge,IHighlightIndicatorInstaller> |
EdgeDecorator.getHighlightDecorator()
Gets a
LookupDecorator that decorates the IHighlightIndicatorInstaller type for the type of items this
instance has been created for. |
default <V> IMapper<IEdge,V> |
IMapperRegistry.getMapper(Class<V> valueType,
EdgeDpKey<V> tag)
Returns a mapper that has previously been registered with this instance for the given tag.
|
LookupDecorator<IEdge,IMarqueeTestable> |
EdgeDecorator.getMarqueeTestableDecorator()
Gets a
LookupDecorator that decorates the IMarqueeTestable type for the type of items this instance has
been created for. |
IEnumerable<IEdge> |
IFoldingView.getMasterEdges(IEdge foldingEdge)
Helper method that corresponds to the
IFoldingView.getMasterItem(IModelItem) method, but is used for folding edges, only. |
LookupDecorator<IEdge,IMementoSupport> |
EdgeDecorator.getMementoSupportDecorator()
Gets a
LookupDecorator that decorates the IMementoSupport type for the type of items this instance has
been created for. |
LookupDecorator<IEdge,IObstacleProvider> |
EdgeDecorator.getObstacleProviderDecorator()
Gets a
LookupDecorator that decorates the IObstacleProvider type for the type of items this instance has
been created for. |
LookupDecorator<IEdge,IOrthogonalEdgeHelper> |
EdgeDecorator.getOrthogonalEdgeHelperDecorator()
Gets a
LookupDecorator that decorates the IOrthogonalEdgeHelper type for the
IEdge s of the graph this instance has been created for. |
LookupDecorator<IEdge,IPortCandidateProvider> |
EdgeDecorator.getPortCandidateProviderDecorator()
Gets a
LookupDecorator that decorates the IPortCandidateProvider for the
IEdge s this instance has been created for. |
LookupDecorator<IEdge,IPositionHandler> |
EdgeDecorator.getPositionHandlerDecorator()
Gets a
LookupDecorator that decorates the IPositionHandler type for the type of items this instance has
been created for. |
LookupDecorator<IEdge,ISelectionIndicatorInstaller> |
EdgeDecorator.getSelectionDecorator()
Gets a
LookupDecorator that decorates the ISelectionIndicatorInstaller type for the type of items this
instance has been created for. |
LookupDecorator<IEdge,ISnapLineProvider> |
EdgeDecorator.getSnapLineProviderDecorator()
Gets a
LookupDecorator that decorates the ISnapLineProvider for the
IEdge s this instance has been created for. |
default IListEnumerable<IEdge> |
IGraph.inEdgesAt(IPort port)
Convenience method that yields the incoming edges at the given port.
|
default IListEnumerable<IEdge> |
IGraph.inEdgesAt(IPortOwner owner)
Convenience method that yields the incoming edges at the given owner.
|
default IListEnumerable<IEdge> |
IGraph.outEdgesAt(IPort port)
Convenience method that yields the outgoing edges at the given port.
|
default IListEnumerable<IEdge> |
IGraph.outEdgesAt(IPortOwner owner)
Convenience method that yields the outgoing edges at the given owner.
|
Modifier and Type | Method and Description |
---|---|
default IBend |
IGraph.addBend(IEdge edge,
PointD location)
Adds a bend at the given index to the given edge using the coordinates provided.
|
IBend |
IGraph.addBend(IEdge edge,
PointD location,
int index)
Adds a bend at the given index to the given edge using the coordinates provided.
|
IBend |
DefaultGraph.addBend(IEdge edge,
PointD location,
int index) |
IBend |
AbstractGraphWrapper.addBend(IEdge edge,
PointD location,
int index) |
protected IBend |
GraphCopier.addBend(IGraph sourceGraph,
IGraph targetGraph,
IEdge targetEdge,
IBend sourceBend,
PointD offset,
int index)
Callback method that adds a bend to the targetEdge in the targetGraph as a copy of the source bend.
|
default void |
IGraph.addBends(IEdge edge,
Iterable<PointD> locations)
Adds bends with the given locations to the end of the bend list of the given edge.
|
protected IEdge |
MergingFoldingEdgeConverter.addFirstSeparateEdge(IFoldingEdgeFactory factory,
IFoldingView foldingView,
IEdge masterEdge,
INode viewSourceNode,
boolean sourceIsCollapsed,
INode targetSourceNode,
boolean targetIsCollapsed)
Adds the first separate edge to the source and target node pair using the
IFoldingEdgeFactory.addAsSeparateEdge(com.yworks.yfiles.graph.IPort, com.yworks.yfiles.graph.IPort)
method. |
IEdge |
MergingFoldingEdgeConverter.addFoldingEdge(IFoldingEdgeFactory factory,
IFoldingView foldingView,
IEdge masterEdge,
INode source,
boolean sourceIsCollapsed,
INode target,
boolean targetIsCollapsed)
Tries to add the folding edge to an
existing folding edge,
considering the EdgeDirectionIgnoringEnabled property. |
IEdge |
IFoldingEdgeConverter.addFoldingEdge(IFoldingEdgeFactory factory,
IFoldingView foldingView,
IEdge masterEdge,
INode source,
boolean sourceIsCollapsed,
INode target,
boolean targetIsCollapsed)
This method gets called by the
IFoldingView implementation to determine whether a given edge in the MasterGraph
should be represented by a folding edge in the given view. |
IEdge |
ExcludingFoldingEdgeConverter.addFoldingEdge(IFoldingEdgeFactory factory,
IFoldingView foldingView,
IEdge masterEdge,
INode source,
boolean sourceIsCollapsed,
INode target,
boolean targetIsCollapsed)
Always calls
IFoldingEdgeFactory.excludeFoldingEdge() . |
IEdge |
DefaultFoldingEdgeConverter.addFoldingEdge(IFoldingEdgeFactory factory,
IFoldingView foldingView,
IEdge masterEdge,
INode source,
boolean sourceIsCollapsed,
INode target,
boolean targetIsCollapsed)
Actually adds the folding edge as a
separate edge
to the view, reusing existing view ports of the
original source and target port, if ReusingMasterPortsEnabled is enabled and that
is possible for the given edge. |
abstract IEdge |
AbstractFoldingEdgeConverter.addFoldingEdge(IFoldingEdgeFactory factory,
IFoldingView foldingView,
IEdge masterEdge,
INode source,
boolean sourceIsCollapsed,
INode target,
boolean targetIsCollapsed) |
IEdge |
IFoldingEdgeFactory.addToExistingFoldingEdge(IEdge foldingEdge)
Tells the
IFoldingView implementation to logically add the edge provided to the IFoldingEdgeConverter.addFoldingEdge(IFoldingEdgeFactory, com.yworks.yfiles.graph.IFoldingView, IEdge, com.yworks.yfiles.graph.INode, boolean, com.yworks.yfiles.graph.INode, boolean)
method to a folding edge that already exists in the view. |
default void |
IGraph.clearBends(IEdge edge)
Removes all bends from the given edge.
|
protected IEdge |
GraphCopier.copyEdge(IGraph sourceGraph,
IGraph targetGraph,
IEdge sourceEdge,
IPort targetSourcePort,
IPort targetTargetPort)
Callback method that adds an edge to the targetGraph as a copy of the source edge.
|
IEdgeStyle |
GraphCopier.copyEdgeStyle(IGraph graph,
IEdge edge)
Copies an
IEdgeStyle instance. |
protected Object |
GraphCopier.copyEdgeTag(IEdge edge,
Object tag)
|
protected IEdgeStyle |
AbstractFoldingEdgeConverter.createEdgeStyle(IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Callback factory method that creates the
IEdgeStyle for use in
AbstractFoldingEdgeConverter.initializeFoldingEdgeStyle(FoldingEdgeState, IFoldingView, IEdge, List) . |
protected IPortLocationModelParameter |
AbstractFoldingEdgeConverter.createSourcePortLocationParameter(IFoldingView foldingView,
IEdge localEdge,
List<IEdge> masterEdges)
Callback factory method that creates the
IPortLocationModelParameter of the source port for use in
AbstractFoldingEdgeConverter.initializeFoldingEdgePorts(FoldingEdgeState, IFoldingView, IEdge, List) . |
protected IPortStyle |
AbstractFoldingEdgeConverter.createSourcePortStyle(IFoldingView foldingView,
IEdge localEdge,
List<IEdge> masterEdges)
Callback factory method that creates the
IPortStyle of the source port for use in
AbstractFoldingEdgeConverter.initializeFoldingEdgePorts(FoldingEdgeState, IFoldingView, IEdge, List) . |
protected IPortLocationModelParameter |
AbstractFoldingEdgeConverter.createTargetPortLocationParameter(IFoldingView foldingView,
IEdge localEdge,
List<IEdge> masterEdges)
Callback factory method that creates the
IPortLocationModelParameter of the target port for use in
AbstractFoldingEdgeConverter.initializeFoldingEdgePorts(FoldingEdgeState, IFoldingView, IEdge, List) . |
protected IPortStyle |
AbstractFoldingEdgeConverter.createTargetPortStyle(IFoldingView foldingView,
IEdge localEdge,
List<IEdge> masterEdges)
Callback factory method that creates the
IPortStyle of the target port for use in
AbstractFoldingEdgeConverter.initializeFoldingEdgePorts(FoldingEdgeState, IFoldingView, IEdge, List) . |
protected IUndoUnit |
DefaultGraph.createUndoUnitForEdgeCreation(IEdge edge)
Creates the edge creation
undo unit for the given edge. |
protected IUndoUnit |
DefaultGraph.createUndoUnitForEdgeReconnection(IEdge edge,
IPort oldSource,
IPort oldTarget)
Creates the edge reconnection
undo unit for the given edge. |
protected IUndoUnit |
DefaultGraph.createUndoUnitForEdgeRemoval(IEdge edge)
Creates the edge removal
undo unit for the given edge. |
void |
FilteredGraphWrapper.edgePredicateChanged(IEdge edge)
Should be called by the client if the
EdgePredicate changed for the given edge in the
graph. |
protected IEdge |
GraphClipboard.getFoldingEdgeState(IEdge edge,
FoldingEdgeStateId id)
Gets a folding state of an edge for a given
FoldingEdgeStateId . |
IEnumerable<IEdge> |
IFoldingView.getMasterEdges(IEdge foldingEdge)
Helper method that corresponds to the
IFoldingView.getMasterItem(IModelItem) method, but is used for folding edges, only. |
protected IPort |
GraphClipboard.getTarget(IEdge originalEdge,
boolean atSource)
Provides an
IPort where the given originalEdge can be added to. |
protected void |
AbstractFoldingEdgeConverter.initializeFoldingEdgeBends(FoldingEdgeState state,
IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Callback method that initializes the bends of the folding edge.
|
protected void |
AbstractFoldingEdgeConverter.initializeFoldingEdgeLabels(FoldingEdgeState state,
IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Callback method that initializes the initial labels of the folding edge.
|
protected void |
AbstractFoldingEdgeConverter.initializeFoldingEdgePorts(FoldingEdgeState state,
IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Callback method that initializes the ports of the folding edge.
|
void |
IFoldingEdgeConverter.initializeFoldingEdgeState(FoldingEdgeState state,
IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Callback that is triggered by the
view to initially create the appearance of a folding edge. |
void |
ExcludingFoldingEdgeConverter.initializeFoldingEdgeState(FoldingEdgeState state,
IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Does nothing and should not normally be called by the view since all folding edges are excluded from it.
|
void |
AbstractFoldingEdgeConverter.initializeFoldingEdgeState(FoldingEdgeState state,
IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Implements the
IFoldingEdgeConverter.initializeFoldingEdgeState(FoldingEdgeState, IFoldingView, IEdge, List)
method and initializes the folding edge appearance. |
protected void |
AbstractFoldingEdgeConverter.initializeFoldingEdgeStyle(FoldingEdgeState state,
IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Callback method that initializes the
style property of the folding edge. |
protected void |
DefaultGraph.onAddingBend(IEdge edge,
IBend bend,
int index)
Callback that is invoked before a bend is added to this graph's structure.
|
protected void |
DefaultGraph.onAddingEdgeLabel(IEdge edge,
ILabel label)
Callback method that will be called just before an edge label is added to an edge.
|
protected void |
DefaultGraph.onBendRemoved(IEdge owner,
IBend bend,
int index)
Callback method that is invoked just after a bend has been removed from its edge.
|
protected void |
DefaultGraph.onChangingEdgePorts(IEdge edge,
IPort newSource,
IPort newTarget)
Callback that is invoked before the ports of an edge are being changed.
|
protected void |
DefaultGraph.onChangingEdgeStyle(IEdge edge,
IEdgeStyle newStyle)
Callback that is invoked before an edge style is being changed.
|
protected void |
DefaultGraph.onCreatingEdge(IEdge edge,
IPort sourcePort,
IPort targetPort)
Callback that is invoked before the edge is added to this graph's structure.
|
protected void |
GraphCopier.onEdgeCopied(IEdge original,
IEdge copy)
Called after an edge has been copied.
|
protected void |
DefaultGraph.onEdgeCreated(IEdge edge)
Callback that triggers the
EdgeCreated event. |
protected void |
DefaultGraph.onEdgePortsChanged(IEdge edge,
IPort oldSource,
IPort oldTarget)
Callback that is invoked after the ports of an edge has changed.
|
protected void |
DefaultGraph.onEdgeRemoved(IEdge edge,
IPort oldSource,
IPort oldTarget)
Callback that triggers the
EdgeRemoved event. |
protected void |
DefaultGraph.onEdgeStyleChanged(IEdge edge,
IEdgeStyle oldStyle)
Callback that is invoked after the style of an edge has changed.
|
protected void |
DefaultGraph.onEdgeTagChanged(IEdge edge,
Object oldTag)
Callback that is invoked after the tag of an edge has changed.
|
protected void |
DefaultGraph.onRemovingEdge(IEdge edge)
Callback that will be invoked before the node will be removed.
|
default void |
IGraph.reverse(IEdge edge)
|
void |
IGraph.setEdgePorts(IEdge edge,
IPort sourcePort,
IPort targetPort)
Sets the ports of the given edge to the new values.
|
void |
DefaultGraph.setEdgePorts(IEdge edge,
IPort sourcePort,
IPort targetPort)
Sets the ports of the given edge to the new values.
|
void |
AbstractGraphWrapper.setEdgePorts(IEdge edge,
IPort sourcePort,
IPort targetPort) |
void |
SimpleBend.setOwner(IEdge value)
Returns the edge this bend instance belongs to.
|
void |
IGraph.setStyle(IEdge edge,
IEdgeStyle style)
Assigns the given style instance by reference to the edge.
|
void |
DefaultGraph.setStyle(IEdge edge,
IEdgeStyle style) |
void |
AbstractGraphWrapper.setStyle(IEdge edge,
IEdgeStyle style) |
protected void |
AbstractFoldingEdgeConverter.synchronizeLabels(FoldingEdgeState state,
IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Called by
AbstractFoldingEdgeConverter.updateFoldingEdgeState(FoldingEdgeState, IFoldingView, IEdge, List) to synchronize the first label if
CopyingFirstLabelEnabled is enabled. |
void |
IFoldingEdgeConverter.updateFoldingEdgeState(FoldingEdgeState state,
IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Callback that is triggered by the
view to adjust the appearance of a folding edge. |
void |
ExcludingFoldingEdgeConverter.updateFoldingEdgeState(FoldingEdgeState state,
IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Does nothing and should not normally be called by the view since all folding edges are excluded from it.
|
void |
AbstractFoldingEdgeConverter.updateFoldingEdgeState(FoldingEdgeState state,
IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Implements the
IFoldingEdgeConverter.updateFoldingEdgeState(FoldingEdgeState, IFoldingView, IEdge, List) method
and changes the folding edge appearance. |
void |
FoldingManager.updateFoldingEdgeStates(IEdge masterEdge)
Triggers a call to
IFoldingEdgeConverter.updateFoldingEdgeState(FoldingEdgeState, IFoldingView, IEdge, java.util.List)
for all folder edges that represent the given
masterEdge . |
Modifier and Type | Method and Description |
---|---|
void |
GraphCopier.addEdgeCopiedListener(IEventHandler<ItemCopiedEventArgs<IEdge>> edgeCopiedEvent)
Adds the given listener for the
EdgeCopied event that occurs after an edge has been copied. |
void |
IGraph.addEdgeCreatedListener(IEventHandler<ItemEventArgs<IEdge>> edgeCreatedEvent)
Adds the given listener for the
EdgeCreated event that occurs when an edge has been created. |
void |
DefaultGraph.addEdgeCreatedListener(IEventHandler<ItemEventArgs<IEdge>> edgeCreatedEvent) |
void |
AbstractGraphWrapper.addEdgeCreatedListener(IEventHandler<ItemEventArgs<IEdge>> edgeCreatedEvent) |
void |
IGraph.addEdgeStyleChangedListener(IEventHandler<ItemChangedEventArgs<IEdge,IEdgeStyle>> edgeStyleChangedEvent)
Adds the given listener for the
EdgeStyleChanged event that occurs when an edge style has been replaced. |
void |
DefaultGraph.addEdgeStyleChangedListener(IEventHandler<ItemChangedEventArgs<IEdge,IEdgeStyle>> edgeStyleChangedEvent) |
void |
AbstractGraphWrapper.addEdgeStyleChangedListener(IEventHandler<ItemChangedEventArgs<IEdge,IEdgeStyle>> edgeStyleChangedEvent) |
void |
IGraph.addEdgeTagChangedListener(IEventHandler<ItemChangedEventArgs<IEdge,Object>> edgeTagChangedEvent)
Adds the given listener for the
EdgeTagChanged event that occurs when the tag of an
edge has been replaced. |
void |
DefaultGraph.addEdgeTagChangedListener(IEventHandler<ItemChangedEventArgs<IEdge,Object>> edgeTagChangedEvent) |
void |
AbstractGraphWrapper.addEdgeTagChangedListener(IEventHandler<ItemChangedEventArgs<IEdge,Object>> edgeTagChangedEvent) |
default <V> void |
IMapperRegistry.addMapper(Class<V> valueType,
EdgeDpKey<V> tag,
IMapper<IEdge,V> mapper)
Adds a previously created mapper to this instance for the given tag.
|
default <V> IMapper<IEdge,V> |
IMapperRegistry.createDelegateMapper(Class<V> valueType,
EdgeDpKey<V> tag,
Function<IEdge,V> getter)
|
protected IEdgeStyle |
AbstractFoldingEdgeConverter.createEdgeStyle(IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Callback factory method that creates the
IEdgeStyle for use in
AbstractFoldingEdgeConverter.initializeFoldingEdgeStyle(FoldingEdgeState, IFoldingView, IEdge, List) . |
protected IPortLocationModelParameter |
AbstractFoldingEdgeConverter.createSourcePortLocationParameter(IFoldingView foldingView,
IEdge localEdge,
List<IEdge> masterEdges)
Callback factory method that creates the
IPortLocationModelParameter of the source port for use in
AbstractFoldingEdgeConverter.initializeFoldingEdgePorts(FoldingEdgeState, IFoldingView, IEdge, List) . |
protected IPortStyle |
AbstractFoldingEdgeConverter.createSourcePortStyle(IFoldingView foldingView,
IEdge localEdge,
List<IEdge> masterEdges)
Callback factory method that creates the
IPortStyle of the source port for use in
AbstractFoldingEdgeConverter.initializeFoldingEdgePorts(FoldingEdgeState, IFoldingView, IEdge, List) . |
protected IPortLocationModelParameter |
AbstractFoldingEdgeConverter.createTargetPortLocationParameter(IFoldingView foldingView,
IEdge localEdge,
List<IEdge> masterEdges)
Callback factory method that creates the
IPortLocationModelParameter of the target port for use in
AbstractFoldingEdgeConverter.initializeFoldingEdgePorts(FoldingEdgeState, IFoldingView, IEdge, List) . |
protected IPortStyle |
AbstractFoldingEdgeConverter.createTargetPortStyle(IFoldingView foldingView,
IEdge localEdge,
List<IEdge> masterEdges)
Callback factory method that creates the
IPortStyle of the target port for use in
AbstractFoldingEdgeConverter.initializeFoldingEdgePorts(FoldingEdgeState, IFoldingView, IEdge, List) . |
protected void |
AbstractFoldingEdgeConverter.initializeFoldingEdgeBends(FoldingEdgeState state,
IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Callback method that initializes the bends of the folding edge.
|
protected void |
AbstractFoldingEdgeConverter.initializeFoldingEdgeLabels(FoldingEdgeState state,
IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Callback method that initializes the initial labels of the folding edge.
|
protected void |
AbstractFoldingEdgeConverter.initializeFoldingEdgePorts(FoldingEdgeState state,
IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Callback method that initializes the ports of the folding edge.
|
void |
IFoldingEdgeConverter.initializeFoldingEdgeState(FoldingEdgeState state,
IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Callback that is triggered by the
view to initially create the appearance of a folding edge. |
void |
ExcludingFoldingEdgeConverter.initializeFoldingEdgeState(FoldingEdgeState state,
IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Does nothing and should not normally be called by the view since all folding edges are excluded from it.
|
void |
AbstractFoldingEdgeConverter.initializeFoldingEdgeState(FoldingEdgeState state,
IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Implements the
IFoldingEdgeConverter.initializeFoldingEdgeState(FoldingEdgeState, IFoldingView, IEdge, List)
method and initializes the folding edge appearance. |
protected void |
AbstractFoldingEdgeConverter.initializeFoldingEdgeStyle(FoldingEdgeState state,
IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Callback method that initializes the
style property of the folding edge. |
protected void |
AbstractGraphWrapper.onEdgeCreated(ItemEventArgs<IEdge> args)
Raises the
EdgeCreated event. |
protected void |
AbstractGraphWrapper.onEdgeStyleChanged(ItemChangedEventArgs<IEdge,IEdgeStyle> args)
Raises the
EdgeStyleChanged event. |
protected void |
AbstractGraphWrapper.onEdgeTagChanged(ItemChangedEventArgs<IEdge,Object> args)
Raises the
EdgeTagChanged event. |
void |
GraphCopier.removeEdgeCopiedListener(IEventHandler<ItemCopiedEventArgs<IEdge>> edgeCopiedEvent)
Removes the given listener for the
EdgeCopied event that occurs after an edge has been copied. |
void |
IGraph.removeEdgeCreatedListener(IEventHandler<ItemEventArgs<IEdge>> edgeCreatedEvent)
Removes the given listener for the
EdgeCreated event that occurs when an edge has been created. |
void |
DefaultGraph.removeEdgeCreatedListener(IEventHandler<ItemEventArgs<IEdge>> edgeCreatedEvent) |
void |
AbstractGraphWrapper.removeEdgeCreatedListener(IEventHandler<ItemEventArgs<IEdge>> edgeCreatedEvent) |
void |
IGraph.removeEdgeStyleChangedListener(IEventHandler<ItemChangedEventArgs<IEdge,IEdgeStyle>> edgeStyleChangedEvent)
Removes the given listener for the
EdgeStyleChanged event that occurs when an edge style has been replaced. |
void |
DefaultGraph.removeEdgeStyleChangedListener(IEventHandler<ItemChangedEventArgs<IEdge,IEdgeStyle>> edgeStyleChangedEvent) |
void |
AbstractGraphWrapper.removeEdgeStyleChangedListener(IEventHandler<ItemChangedEventArgs<IEdge,IEdgeStyle>> edgeStyleChangedEvent) |
void |
IGraph.removeEdgeTagChangedListener(IEventHandler<ItemChangedEventArgs<IEdge,Object>> edgeTagChangedEvent)
Removes the given listener for the
EdgeTagChanged event that occurs when the tag of
an edge has been replaced. |
void |
DefaultGraph.removeEdgeTagChangedListener(IEventHandler<ItemChangedEventArgs<IEdge,Object>> edgeTagChangedEvent) |
void |
AbstractGraphWrapper.removeEdgeTagChangedListener(IEventHandler<ItemChangedEventArgs<IEdge,Object>> edgeTagChangedEvent) |
protected void |
AbstractFoldingEdgeConverter.synchronizeLabels(FoldingEdgeState state,
IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Called by
AbstractFoldingEdgeConverter.updateFoldingEdgeState(FoldingEdgeState, IFoldingView, IEdge, List) to synchronize the first label if
CopyingFirstLabelEnabled is enabled. |
void |
IFoldingEdgeConverter.updateFoldingEdgeState(FoldingEdgeState state,
IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Callback that is triggered by the
view to adjust the appearance of a folding edge. |
void |
ExcludingFoldingEdgeConverter.updateFoldingEdgeState(FoldingEdgeState state,
IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Does nothing and should not normally be called by the view since all folding edges are excluded from it.
|
void |
AbstractFoldingEdgeConverter.updateFoldingEdgeState(FoldingEdgeState state,
IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Implements the
IFoldingEdgeConverter.updateFoldingEdgeState(FoldingEdgeState, IFoldingView, IEdge, List) method
and changes the folding edge appearance. |
Constructor and Description |
---|
BendEventArgs(IBend bend,
IEdge owner,
int index)
Initializes a new instance of the
BendEventArgs class. |
EdgeEventArgs(IEdge edge)
Initializes a new instance of the
EdgeEventArgs class. |
EdgeEventArgs(IEdge edge,
IPort source,
IPort target)
Initializes a new instance of the
EdgeEventArgs class. |
EdgeEventArgs(IEdge edge,
IPort source,
IPort target,
IPortOwner sourceOwner,
IPortOwner targetOwner)
Initializes a new instance of the
EdgeEventArgs class. |
FoldingEdgeStateId(IEdge masterEdge,
INode currentMasterSource,
boolean sourceCollapsed,
INode currentMasterTarget,
boolean targetCollapsed)
Initializes an id for a folding edge in a
view that represent a master edge and connects a specific
pair of nodes. |
FoldingEdgeStateId(IFoldingView foldingView,
IEdge foldingEdge)
Initializes an id for a folding edge that is currently part of the given view.
|
SimpleBend(IEdge owner,
IPoint location)
Initializes a new instance of the
SimpleBend class using the given owner and location. |
Constructor and Description |
---|
FilteredGraphWrapper(IGraph graph,
Predicate<INode> nodePredicate,
Predicate<IEdge> edgePredicate)
Creates a new graph instance that wraps the original graph and uses the
Predicate s to determine which nodes and edges should be contained in the graph. |
Modifier and Type | Method and Description |
---|---|
protected IEdge |
PathBasedEdgeStyleRenderer.getEdge()
Gets the currently configured edge.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractEdgeStyle.addArrows(IRenderContext context,
VisualGroup group,
IEdge edge,
GeneralPath edgePath,
IArrow sourceArrow,
IArrow targetArrow)
Convenience method that adds the arrows to a given container.
|
protected abstract Node |
AbstractEdgeStyle.createVisual(IRenderContext context,
IEdge edge)
Callback that creates the visual.
|
GeneralPath |
IEdgePathCropper.cropEdgePath(IEdge edge,
boolean atSource,
IArrow arrow,
GeneralPath path)
Crops the provided
path at one end of an edge. |
GeneralPath |
DefaultEdgePathCropper.cropEdgePath(IEdge edge,
boolean atSource,
IArrow arrow,
GeneralPath path)
Crops the provided
path at one end of an edge. |
protected GeneralPath |
DefaultEdgePathCropper.cropEdgePathAtPortGeometry(IEdge edge,
boolean atSource,
IArrow arrow,
GeneralPath path)
Crops an edge's path at the source or target side at the
port geometry with respect to
the given arrow. |
protected GeneralPath |
AbstractEdgeStyle.cropPath(IEdge edge,
IArrow sourceArrow,
IArrow targetArrow,
GeneralPath path)
Convenience method that crops the edge's path at the nodes.
|
protected RectD |
AbstractEdgeStyle.getBounds(ICanvasContext context,
IEdge edge)
Gets the bounds of the visual for the edge in the given context.
|
IBoundsProvider |
IArrow.getBoundsProvider(IEdge edge,
boolean atSource,
PointD anchor,
PointD directionVector)
Gets an
IBoundsProvider implementation that can yield this arrow's bounds if painted at the given location using
the given direction for the given edge. |
IBoundsProvider |
Arrow.getBoundsProvider(IEdge edge,
boolean atSource,
PointD anchor,
PointD directionVector) |
IBoundsProvider |
VoidEdgeStyleRenderer.getBoundsProvider(IEdge edge,
IEdgeStyle style)
Yields the
IBoundsProvider.EMPTY that will return empty bounds. |
IBoundsProvider |
PathBasedEdgeStyleRenderer.getBoundsProvider(IEdge edge,
IEdgeStyle style)
Configures the
style and edge parameters, calls PathBasedEdgeStyleRenderer.configure() and returns this . |
IBoundsProvider |
IEdgeStyleRenderer.getBoundsProvider(IEdge edge,
IEdgeStyle style)
Gets an implementation of the
IBoundsProvider interface that can handle the provided edge and its associated
style. |
ILookup |
VoidEdgeStyleRenderer.getContext(IEdge edge,
IEdgeStyle style)
Yields the
ILookup.EMPTY that will not yield anything. |
ILookup |
PathBasedEdgeStyleRenderer.getContext(IEdge edge,
IEdgeStyle style)
Configures the
style and edge parameters, does not call PathBasedEdgeStyleRenderer.configure() and returns
this . |
ILookup |
IEdgeStyleRenderer.getContext(IEdge edge,
IEdgeStyle style)
Gets a temporary context instance that can be used to query additional information for the edge's style.
|
IHitTestable |
VoidEdgeStyleRenderer.getHitTestable(IEdge edge,
IEdgeStyle style)
Yields the
IHitTestable.NEVER that will always report misses. |
IHitTestable |
PathBasedEdgeStyleRenderer.getHitTestable(IEdge edge,
IEdgeStyle style)
Configures the
style and edge parameters and returns this . |
IHitTestable |
IEdgeStyleRenderer.getHitTestable(IEdge edge,
IEdgeStyle style)
Gets an implementation of the
IHitTestable interface that can handle the provided edge and its associated
style. |
protected PointD |
DefaultEdgePathCropper.getIntersection(INode node,
IShapeGeometry nodeShapeGeometry,
IEdge edge,
PointD inner,
PointD outer)
Finds the intersection between a node and the edge.
|
IMarqueeTestable |
VoidEdgeStyleRenderer.getMarqueeTestable(IEdge edge,
IEdgeStyle style)
Yields the
IMarqueeTestable.NEVER that will always report misses. |
IMarqueeTestable |
PathBasedEdgeStyleRenderer.getMarqueeTestable(IEdge edge,
IEdgeStyle style)
Configures the
style and edge parameters, calls PathBasedEdgeStyleRenderer.configure() and returns this . |
IMarqueeTestable |
IEdgeStyleRenderer.getMarqueeTestable(IEdge edge,
IEdgeStyle style)
Gets an implementation of the
IMarqueeTestable interface that can handle the provided edge and its associated
style. |
protected GeneralPath |
AbstractEdgeStyle.getPath(IEdge edge)
Gets the path of the edge.
|
IPathGeometry |
VoidEdgeStyleRenderer.getPathGeometry(IEdge edge,
IEdgeStyle style)
This method always returns the
VoidPathGeometry instance . |
IPathGeometry |
PathBasedEdgeStyleRenderer.getPathGeometry(IEdge edge,
IEdgeStyle style)
Gets an implementation of the
IPathGeometry interface that can handle the provided edge and its associated
style. |
IPathGeometry |
IEdgeStyleRenderer.getPathGeometry(IEdge edge,
IEdgeStyle style)
Gets an implementation of the
IPathGeometry interface that can handle the provided edge and its associated
style. |
protected int |
AbstractEdgeStyle.getSegmentCount(IEdge edge)
Gets the number of segments of the edge.
|
protected Tangent |
AbstractEdgeStyle.getTangent(IEdge edge,
double ratio)
Gets the tangent to the edge at the specified ratio and the corresponding touch point.
|
protected Tangent |
AbstractEdgeStyle.getTangent(IEdge edge,
int segmentIndex,
double ratio)
Gets the tangent to the edge at the specified ratio of a segment of the edge and the corresponding touch point.
|
IVisibilityTestable |
VoidEdgeStyleRenderer.getVisibilityTestable(IEdge edge,
IEdgeStyle style)
Yields the
IVisibilityTestable.NEVER that will always claim invisibility. |
IVisibilityTestable |
PathBasedEdgeStyleRenderer.getVisibilityTestable(IEdge edge,
IEdgeStyle style)
Configures the
style and edge parameters, does not call PathBasedEdgeStyleRenderer.configure() and returns
this . |
IVisibilityTestable |
IEdgeStyleRenderer.getVisibilityTestable(IEdge edge,
IEdgeStyle style)
Gets an implementation of the
IVisibilityTestable interface that can handle the provided edge and its associated
style. |
IVisualCreator |
IArrow.getVisualCreator(IEdge edge,
boolean atSource,
PointD anchor,
PointD direction)
Gets an
IVisualCreator implementation that will paint this arrow at the given location using the given direction
for the given edge. |
IVisualCreator |
Arrow.getVisualCreator(IEdge edge,
boolean atSource,
PointD anchor,
PointD direction) |
IVisualCreator |
VoidEdgeStyleRenderer.getVisualCreator(IEdge edge,
IEdgeStyle style)
Yields the
VoidVisualCreator.INSTANCE that will do nothing. |
IVisualCreator |
PathBasedEdgeStyleRenderer.getVisualCreator(IEdge edge,
IEdgeStyle style)
Configures the
style and edge parameters, calls PathBasedEdgeStyleRenderer.configure() and returns this . |
IVisualCreator |
IEdgeStyleRenderer.getVisualCreator(IEdge edge,
IEdgeStyle style)
Gets an implementation of the
IVisualCreator interface that can handle the provided edge and its associated
style. |
protected GeneralPath |
DefaultEdgePathCropper.handleEmptyPath(IEdge edge,
boolean atSource,
IArrow arrow,
GeneralPath path)
Handles the edge path cropping if
DefaultEdgePathCropper.cropEdgePath(IEdge, boolean, IArrow, GeneralPath) would result in a cleared
path. |
protected boolean |
AbstractEdgeStyle.isHit(IInputModeContext context,
PointD location,
IEdge edge)
Determines whether the visual representation of the edge has been hit at the given location.
|
protected boolean |
AbstractEdgeStyle.isInBox(IInputModeContext context,
RectD rectangle,
IEdge edge)
Determines whether the visualization for the specified edge is included in the marquee selection.
|
protected boolean |
DefaultEdgePathCropper.isInside(PointD location,
INode node,
IShapeGeometry nodeShapeGeometry,
IEdge edge)
Checks whether a given point is inside a node's shape geometry with respect to the edge that is being calculated.
|
protected boolean |
AbstractEdgeStyle.isVisible(ICanvasContext context,
RectD rectangle,
IEdge edge)
Determines whether the visualization for the specified edge is visible in the context.
|
protected Object |
AbstractEdgeStyle.lookup(IEdge edge,
Class type)
Performs the
ILookup.lookup(Class) operation for the IEdgeStyleRenderer.getContext(IEdge, IEdgeStyle)
that has been queried from the Renderer . |
protected void |
PathBasedEdgeStyleRenderer.setEdge(IEdge value)
Sets the currently configured edge.
|
protected void |
AbstractEdgeStyle.updateArrows(IRenderContext context,
VisualGroup group,
IEdge edge,
GeneralPath edgePath,
IArrow sourceArrow,
IArrow targetArrow)
Convenience method that updates the arrows in a given container.
|
protected Node |
AbstractEdgeStyle.updateVisual(IRenderContext context,
Node oldVisual,
IEdge edge)
Callback that updates the visual previously created by
AbstractEdgeStyle.createVisual(IRenderContext, IEdge) . |
Modifier and Type | Field and Description |
---|---|
static TypedKey<IEdge> |
SerializationProperties.REPRESENTED_EDGE
The edge that is currently being represented by the dummy edge that is written instead.
|
Modifier and Type | Method and Description |
---|---|
IEdge |
IGraphElementFactory.createEdge(IParseContext context,
INode sourceNode,
IPort sourcePort,
INode targetNode,
IPort targetPort)
Creates an edge for the given context and the provided source and target nodes or ports.
|
IEdge |
IGraphElementResolver.resolveEdge(IParseContext context,
String id)
Resolve the GraphML
id to an IEdge instance. |
IEdge |
GraphElementIdAcceptor.resolveEdge(IParseContext context,
String id) |
Modifier and Type | Method and Description |
---|---|
Map<IEdge,String> |
GraphElementIdAcceptor.getEdgeIds()
Return a mapping between all GraphML ids for
<edge> elements and the corresponding IEdge instances. |
Modifier and Type | Method and Description |
---|---|
String |
IGraphElementIdProvider.getEdgeId(IWriteContext context,
IEdge edge)
Get an ID for the specified
edge object. |
void |
IGraphElementIdAcceptor.storeId(IParseContext context,
IEdge edge,
String id)
Store the value of the id attribute for the given edge.
|
void |
GraphElementIdAcceptor.storeId(IParseContext context,
IEdge edge,
String id) |
Modifier and Type | Field and Description |
---|---|
static EdgeDpKey<IEdge> |
LayoutGraphAdapter.ORIGINAL_EDGE_DPKEY
|
static NodeDpKey<IEdge> |
LayoutGraphAdapter.PORT_DUMMY_NODE_DPKEY
This key is used to provide information about dummy nodes that have been inserted into the graph to model edges at
edges.
|
Modifier and Type | Method and Description |
---|---|
IEdge |
YGraphAdapter.getOriginalEdge(Edge edge)
Yields the original edge from the
original IGraph that the given edge has been created for. |
Modifier and Type | Method and Description |
---|---|
IListEnumerable<IEdge> |
YGraphAdapter.createEdgeEnumerable(EdgeList edges)
|
<T> IMapper<IEdge,T> |
YGraphAdapter.createMapper(IEdgeMap edgeMap)
|
ItemCollection<IEdge> |
ReverseEdgesStageData.getAffectedEdges()
Gets the collection of affected edges.
|
ItemCollection<IEdge> |
ParallelEdgeRouterData.getAffectedEdges()
Gets the collection of edges affected by this router.
|
ItemCollection<IEdge> |
ParallelEdgeRouterData.getLeadingEdges()
Gets the collection of leading edges.
|
ItemMapping<IEdge,Object> |
ReverseEdgesStageData.getSourceGroupIds()
Gets a mapping from edges to an object representing their source edge group.
|
ItemMapping<IEdge,Collection<PortCandidate>> |
RecursiveGroupLayoutData.getSourcePortCandidates()
Gets a mapping from edges to a collection of their source port
candidates . |
ItemMapping<IEdge,Collection<PortCandidate>> |
PartitionLayoutData.getSourcePortCandidates()
Gets a mapping from edges to a collection of their source port
candidates . |
ItemMapping<IEdge,PortConstraint> |
ReverseEdgesStageData.getSourcePortConstraints()
Gets a mapping from edges to their source
PortConstraint . |
ItemMapping<IEdge,PortConstraint> |
RecursiveGroupLayoutData.getSourcePortConstraints()
Gets a mapping from edges to their source
PortConstraint . |
ItemMapping<IEdge,PortConstraint> |
PartitionLayoutData.getSourcePortConstraints()
Gets a mapping from edges to their source
PortConstraint . |
ItemMapping<IEdge,PortConstraint> |
FixGroupLayoutData.getSourcePortConstraints()
Gets a mapping from edges to their source
PortConstraint . |
ItemMapping<IEdge,Object> |
RecursiveGroupLayoutData.getSourceSplitIds()
Gets a mapping from edges connecting to group nodes to source split ids.
|
ItemMapping<IEdge,Object> |
ReverseEdgesStageData.getTargetGroupIds()
Gets a mapping from edges to an object representing their target edge group.
|
ItemMapping<IEdge,Collection<PortCandidate>> |
RecursiveGroupLayoutData.getTargetPortCandidates()
Gets a mapping from edges to a collection of their target port
candidates . |
ItemMapping<IEdge,Collection<PortCandidate>> |
PartitionLayoutData.getTargetPortCandidates()
Gets a mapping from edges to a collection of their target port
candidates . |
ItemMapping<IEdge,PortConstraint> |
ReverseEdgesStageData.getTargetPortConstraints()
Gets a mapping from edges to their target
PortConstraint . |
ItemMapping<IEdge,PortConstraint> |
RecursiveGroupLayoutData.getTargetPortConstraints()
Gets a mapping from edges to their target
PortConstraint . |
ItemMapping<IEdge,PortConstraint> |
PartitionLayoutData.getTargetPortConstraints()
Gets a mapping from edges to their target
PortConstraint . |
ItemMapping<IEdge,PortConstraint> |
FixGroupLayoutData.getTargetPortConstraints()
Gets a mapping from edges to their target
PortConstraint . |
ItemMapping<IEdge,Object> |
RecursiveGroupLayoutData.getTargetSplitIds()
Gets a mapping from edges connecting to group nodes to target split ids.
|
Modifier and Type | Method and Description |
---|---|
protected IEdgeLayout |
LayoutGraphAdapter.createEdgeLayout(IEdge edge)
Factory method that creates an
IEdgeLayout implementation that wraps the given IEdge . |
Edge |
YGraphAdapter.getCopiedEdge(IEdge edge)
Yields the edge that has been created as a copy in
YGraph to represent the given edge. |
Modifier and Type | Method and Description |
---|---|
EdgeList |
YGraphAdapter.createEdgeList(Iterable<IEdge> edges)
|
<V> IEdgeMap |
YGraphAdapter.createEdgeMap(Function<IEdge,V> getter)
|
<V> IEdgeMap |
YGraphAdapter.createEdgeMap(IMapper<IEdge,V> mapper)
|
void |
ReverseEdgesStageData.setAffectedEdges(ItemCollection<IEdge> value)
Sets the collection of affected edges.
|
void |
ParallelEdgeRouterData.setAffectedEdges(ItemCollection<IEdge> value)
Sets the collection of edges affected by this router.
|
void |
ParallelEdgeRouterData.setLeadingEdges(ItemCollection<IEdge> value)
Sets the collection of leading edges.
|
void |
ReverseEdgesStageData.setSourceGroupIds(ItemMapping<IEdge,Object> value)
Sets a mapping from edges to an object representing their source edge group.
|
void |
RecursiveGroupLayoutData.setSourcePortCandidates(ItemMapping<IEdge,Collection<PortCandidate>> value)
Sets a mapping from edges to a collection of their source port
candidates . |
void |
PartitionLayoutData.setSourcePortCandidates(ItemMapping<IEdge,Collection<PortCandidate>> value)
Sets a mapping from edges to a collection of their source port
candidates . |
void |
ReverseEdgesStageData.setSourcePortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their source
PortConstraint . |
void |
RecursiveGroupLayoutData.setSourcePortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their source
PortConstraint . |
void |
PartitionLayoutData.setSourcePortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their source
PortConstraint . |
void |
FixGroupLayoutData.setSourcePortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their source
PortConstraint . |
void |
RecursiveGroupLayoutData.setSourceSplitIds(ItemMapping<IEdge,Object> value)
Sets a mapping from edges connecting to group nodes to source split ids.
|
void |
ReverseEdgesStageData.setTargetGroupIds(ItemMapping<IEdge,Object> value)
Sets a mapping from edges to an object representing their target edge group.
|
void |
RecursiveGroupLayoutData.setTargetPortCandidates(ItemMapping<IEdge,Collection<PortCandidate>> value)
Sets a mapping from edges to a collection of their target port
candidates . |
void |
PartitionLayoutData.setTargetPortCandidates(ItemMapping<IEdge,Collection<PortCandidate>> value)
Sets a mapping from edges to a collection of their target port
candidates . |
void |
ReverseEdgesStageData.setTargetPortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their target
PortConstraint . |
void |
RecursiveGroupLayoutData.setTargetPortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their target
PortConstraint . |
void |
PartitionLayoutData.setTargetPortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their target
PortConstraint . |
void |
FixGroupLayoutData.setTargetPortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their target
PortConstraint . |
void |
RecursiveGroupLayoutData.setTargetSplitIds(ItemMapping<IEdge,Object> value)
Sets a mapping from edges connecting to group nodes to target split ids.
|
Modifier and Type | Method and Description |
---|---|
ItemMapping<IEdge,EdgeBundleDescriptor> |
CircularLayoutData.getEdgeBundleDescriptors()
Gets the mapping of edges to their
EdgeBundleDescriptor . |
Modifier and Type | Method and Description |
---|---|
void |
CircularLayoutData.setEdgeBundleDescriptors(ItemMapping<IEdge,EdgeBundleDescriptor> value)
Sets the mapping of edges to their
EdgeBundleDescriptor . |
Modifier and Type | Method and Description |
---|---|
ItemMapping<IEdge,YPointPath> |
HierarchicLayoutData.getAlternativeEdgePath()
Gets a mapping from edges to alternative paths for edges connecting to groups, group content or folder nodes.
|
ItemMapping<IEdge,Integer> |
HierarchicLayoutData.getConstraintIncrementalLayererAdditionalEdgeWeights()
Gets the mapping from edges to an additional weight used by the
ConstraintIncrementalLayerer . |
ItemMapping<IEdge,Integer> |
HierarchicLayoutData.getCriticalEdgePriorities()
Gets a mapping from edges to their priority to be a 'critical' edge.
|
ItemMapping<IEdge,Double> |
HierarchicLayoutData.getEdgeDirectedness()
Gets the mapping from edges to their directedness.
|
ItemMapping<IEdge,EdgeLayoutDescriptor> |
HierarchicLayoutData.getEdgeLayoutDescriptors()
Gets the mapping of edges to their
EdgeLayoutDescriptor . |
ItemMapping<IEdge,Double> |
HierarchicLayoutData.getEdgeThickness()
Gets the mapping from edges to their thickness.
|
ItemMapping<IEdge,Double> |
SelfLoopCalculatorData.getMinimumEdgeDistances()
Gets the mapping from edges to their minimum distance to the next edge and to node sides.
|
ItemMapping<IEdge,Double> |
SelfLoopCalculatorData.getMinimumFirstSegmentLengths()
Gets the mapping from edges to the minimum length of their first segment.
|
ItemMapping<IEdge,Double> |
SelfLoopCalculatorData.getMinimumLastSegmentLengths()
Gets the mapping from edges to the minimum length of their last segment.
|
ItemMapping<IEdge,Double> |
SelfLoopCalculatorData.getMinimumOctilinearSegmentLengths()
Gets the mapping from edges to the minimum length of their octilinear segments.
|
ItemCollection<IEdge> |
SelfLoopCalculatorData.getOctilinearEdges()
Gets the collection of edges that are octilinear.
|
ItemMapping<IEdge,Object> |
HierarchicLayoutData.getSourceGroupIds()
Gets a mapping from edges to an object representing their source edge group.
|
ItemMapping<IEdge,Collection<PortCandidate>> |
HierarchicLayoutData.getSourcePortCandidates()
Gets a mapping from edges to a collection of their source port
candidates . |
ItemMapping<IEdge,PortConstraint> |
HierarchicLayoutData.getSourcePortConstraints()
Gets a mapping from edges to their source
PortConstraint . |
ItemMapping<IEdge,Object> |
HierarchicLayoutData.getSourcePortGroupIds()
Gets a mapping from edges to an object representing their source port group.
|
ItemMapping<IEdge,Object> |
HierarchicLayoutData.getTargetGroupIds()
Gets a mapping from edges to an object representing their target edge group.
|
ItemMapping<IEdge,Collection<PortCandidate>> |
HierarchicLayoutData.getTargetPortCandidates()
Gets a mapping from edges to a collection of their target port
candidates . |
ItemMapping<IEdge,PortConstraint> |
HierarchicLayoutData.getTargetPortConstraints()
Gets a mapping from edges to their target
PortConstraint . |
ItemMapping<IEdge,Object> |
HierarchicLayoutData.getTargetPortGroupIds()
Gets a mapping from edges to an object representing their target port group.
|
Modifier and Type | Method and Description |
---|---|
void |
HierarchicLayoutData.setAlternativeEdgePath(ItemMapping<IEdge,YPointPath> value)
Sets a mapping from edges to alternative paths for edges connecting to groups, group content or folder nodes.
|
void |
HierarchicLayoutData.setConstraintIncrementalLayererAdditionalEdgeWeights(ItemMapping<IEdge,Integer> value)
Sets the mapping from edges to an additional weight used by the
ConstraintIncrementalLayerer . |
void |
HierarchicLayoutData.setCriticalEdgePriorities(ItemMapping<IEdge,Integer> value)
Sets a mapping from edges to their priority to be a 'critical' edge.
|
void |
HierarchicLayoutData.setEdgeDirectedness(ItemMapping<IEdge,Double> value)
Sets the mapping from edges to their directedness.
|
void |
HierarchicLayoutData.setEdgeLayoutDescriptors(ItemMapping<IEdge,EdgeLayoutDescriptor> value)
Sets the mapping of edges to their
EdgeLayoutDescriptor . |
void |
HierarchicLayoutData.setEdgeThickness(ItemMapping<IEdge,Double> value)
Sets the mapping from edges to their thickness.
|
void |
SelfLoopCalculatorData.setMinimumEdgeDistances(ItemMapping<IEdge,Double> value)
Sets the mapping from edges to their minimum distance to the next edge and to node sides.
|
void |
SelfLoopCalculatorData.setMinimumFirstSegmentLengths(ItemMapping<IEdge,Double> value)
Sets the mapping from edges to the minimum length of their first segment.
|
void |
SelfLoopCalculatorData.setMinimumLastSegmentLengths(ItemMapping<IEdge,Double> value)
Sets the mapping from edges to the minimum length of their last segment.
|
void |
SelfLoopCalculatorData.setMinimumOctilinearSegmentLengths(ItemMapping<IEdge,Double> value)
Sets the mapping from edges to the minimum length of their octilinear segments.
|
void |
SelfLoopCalculatorData.setOctilinearEdges(ItemCollection<IEdge> value)
Sets the collection of edges that are octilinear.
|
void |
HierarchicLayoutData.setSourceGroupIds(ItemMapping<IEdge,Object> value)
Sets a mapping from edges to an object representing their source edge group.
|
void |
HierarchicLayoutData.setSourcePortCandidates(ItemMapping<IEdge,Collection<PortCandidate>> value)
Sets a mapping from edges to a collection of their source port
candidates . |
void |
HierarchicLayoutData.setSourcePortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their source
PortConstraint . |
void |
HierarchicLayoutData.setSourcePortGroupIds(ItemMapping<IEdge,Object> value)
Sets a mapping from edges to an object representing their source port group.
|
void |
HierarchicLayoutData.setTargetGroupIds(ItemMapping<IEdge,Object> value)
Sets a mapping from edges to an object representing their target edge group.
|
void |
HierarchicLayoutData.setTargetPortCandidates(ItemMapping<IEdge,Collection<PortCandidate>> value)
Sets a mapping from edges to a collection of their target port
candidates . |
void |
HierarchicLayoutData.setTargetPortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their target
PortConstraint . |
void |
HierarchicLayoutData.setTargetPortGroupIds(ItemMapping<IEdge,Object> value)
Sets a mapping from edges to an object representing their target port group.
|
Modifier and Type | Method and Description |
---|---|
ItemMapping<IEdge,Object> |
LabelingData.getSourceGroupIds()
Gets a mapping from edges to an object representing their source edge group.
|
ItemMapping<IEdge,Object> |
LabelingData.getTargetGroupIds()
Gets a mapping from edges to an object representing their target edge group.
|
Modifier and Type | Method and Description |
---|---|
void |
LabelingData.setSourceGroupIds(ItemMapping<IEdge,Object> value)
Sets a mapping from edges to an object representing their source edge group.
|
void |
LabelingData.setTargetGroupIds(ItemMapping<IEdge,Object> value)
Sets a mapping from edges to an object representing their target edge group.
|
Modifier and Type | Method and Description |
---|---|
ItemMapping<IEdge,Object> |
MultiPageLayoutData.getEdgeIds()
Gets the mapping from edges to their unique IDs.
|
ItemMapping<IEdge,Object> |
MultiPageLayoutData.getEdgeTypes()
Gets the mapping from edges to their type.
|
Modifier and Type | Method and Description |
---|---|
void |
MultiPageLayoutData.setEdgeIds(ItemMapping<IEdge,Object> value)
Sets the mapping from edges to their unique IDs.
|
void |
MultiPageLayoutData.setEdgeTypes(ItemMapping<IEdge,Object> value)
Sets the mapping from edges to their type.
|
Modifier and Type | Method and Description |
---|---|
ItemMapping<IEdge,Double> |
OrganicLayoutData.getEdgeDirectedness()
Gets the mapping from edges to their directedness.
|
ItemMapping<IEdge,Double> |
OrganicLayoutData.getPreferredEdgeLengths()
Gets the mapping from edges to their preferred edge length.
|
Modifier and Type | Method and Description |
---|---|
void |
OrganicLayoutData.setEdgeDirectedness(ItemMapping<IEdge,Double> value)
Sets the mapping from edges to their directedness.
|
void |
OrganicLayoutData.setPreferredEdgeLengths(ItemMapping<IEdge,Double> value)
Sets the mapping from edges to their preferred edge length.
|
Modifier and Type | Method and Description |
---|---|
ItemCollection<IEdge> |
OrthogonalLayoutData.getDirectedEdges()
Gets the collection of edges that should be routed in a way that point in the main layout direction.
|
ItemMapping<IEdge,EdgeLayoutDescriptor> |
OrthogonalLayoutData.getEdgeLayoutDescriptors()
Gets the mapping from edges to their
EdgeLayoutDescriptor . |
ItemMapping<IEdge,Object> |
OrthogonalLayoutData.getSourceGroupIds()
Gets a mapping from edges to an object representing their source edge group.
|
ItemMapping<IEdge,Object> |
OrthogonalLayoutData.getTargetGroupIds()
Gets a mapping from edges to an object representing their target edge group.
|
Modifier and Type | Method and Description |
---|---|
void |
OrthogonalLayoutData.setDirectedEdges(ItemCollection<IEdge> value)
Sets the collection of edges that should be routed in a way that point in the main layout direction.
|
void |
OrthogonalLayoutData.setEdgeLayoutDescriptors(ItemMapping<IEdge,EdgeLayoutDescriptor> value)
Sets the mapping from edges to their
EdgeLayoutDescriptor . |
void |
OrthogonalLayoutData.setSourceGroupIds(ItemMapping<IEdge,Object> value)
Sets a mapping from edges to an object representing their source edge group.
|
void |
OrthogonalLayoutData.setTargetGroupIds(ItemMapping<IEdge,Object> value)
Sets a mapping from edges to an object representing their target edge group.
|
Modifier and Type | Method and Description |
---|---|
ItemCollection<IEdge> |
PartialLayoutData.getAffectedEdges()
Gets the collection of edges placed by the layout.
|
ItemCollection<IEdge> |
PartialLayoutData.getDirectedEdges()
Gets the collection of edges that are considered as directed by the layout.
|
ItemMapping<IEdge,Collection<PortCandidate>> |
PartialLayoutData.getSourcePortCandidates()
Gets a mapping from edges to a collection of their source port
candidates . |
ItemMapping<IEdge,PortConstraint> |
PartialLayoutData.getSourcePortConstraints()
Gets a mapping from edges to their source
PortConstraint . |
ItemMapping<IEdge,Collection<PortCandidate>> |
PartialLayoutData.getTargetPortCandidates()
Gets a mapping from edges to a collection of their target port
candidates . |
ItemMapping<IEdge,PortConstraint> |
PartialLayoutData.getTargetPortConstraints()
Gets a mapping from edges to their target
PortConstraint . |
Modifier and Type | Method and Description |
---|---|
void |
PartialLayoutData.setAffectedEdges(ItemCollection<IEdge> value)
Sets the collection of edges placed by the layout.
|
void |
PartialLayoutData.setDirectedEdges(ItemCollection<IEdge> value)
Sets the collection of edges that are considered as directed by the layout.
|
void |
PartialLayoutData.setSourcePortCandidates(ItemMapping<IEdge,Collection<PortCandidate>> value)
Sets a mapping from edges to a collection of their source port
candidates . |
void |
PartialLayoutData.setSourcePortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their source
PortConstraint . |
void |
PartialLayoutData.setTargetPortCandidates(ItemMapping<IEdge,Collection<PortCandidate>> value)
Sets a mapping from edges to a collection of their target port
candidates . |
void |
PartialLayoutData.setTargetPortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their target
PortConstraint . |
Modifier and Type | Method and Description |
---|---|
ItemMapping<IEdge,EdgeBundleDescriptor> |
RadialLayoutData.getEdgeBundleDescriptors()
Gets the mapping of edges to their
EdgeBundleDescriptor . |
ItemMapping<IEdge,Object> |
RadialLayoutData.getSourceGroups()
Gets a mapping from edges to an object representing their source edge group.
|
ItemMapping<IEdge,Object> |
RadialLayoutData.getTargetGroups()
Gets a mapping from edges to an object representing their target edge group.
|
Modifier and Type | Method and Description |
---|---|
void |
RadialLayoutData.setEdgeBundleDescriptors(ItemMapping<IEdge,EdgeBundleDescriptor> value)
Sets the mapping of edges to their
EdgeBundleDescriptor . |
void |
RadialLayoutData.setSourceGroups(ItemMapping<IEdge,Object> value)
Sets a mapping from edges to an object representing their source edge group.
|
void |
RadialLayoutData.setTargetGroups(ItemMapping<IEdge,Object> value)
Sets a mapping from edges to an object representing their target edge group.
|
Modifier and Type | Method and Description |
---|---|
DpKeyItemCollection<IEdge> |
StraightLineEdgeRouterData.getAffectedEdges()
Gets the collection of affected edges.
|
DpKeyItemCollection<IEdge> |
OrthogonalPatternEdgeRouterData.getAffectedEdges()
Gets the collection of edges affected by this router.
|
ItemCollection<IEdge> |
OrganicEdgeRouterData.getAffectedEdges()
Gets the collection of edges routed by this router.
|
ItemCollection<IEdge> |
ChannelEdgeRouterData.getAffectedEdges()
Gets the collection of edges affected by this router.
|
DpKeyItemCollection<IEdge> |
BusRouterData.getAffectedEdges()
Gets the collection of edges affected by this router.
|
ItemMapping<IEdge,BusDescriptor> |
BusRouterData.getEdgeDescriptors()
Gets the mapping of edges to their
BusDescriptor . |
ItemMapping<IEdge,Collection<PortCandidate>> |
OrthogonalPatternEdgeRouterData.getSourcePortCandidates()
Gets a mapping from edges to a collection of their source port
candidates . |
ItemMapping<IEdge,Collection<PortCandidate>> |
BusRouterData.getSourcePortCandidates()
Gets a mapping from edges to a collection of their source port
candidates . |
ItemMapping<IEdge,PortConstraint> |
StraightLineEdgeRouterData.getSourcePortConstraints()
Gets a mapping from edges to their source
PortConstraint . |
ItemMapping<IEdge,PortConstraint> |
OrthogonalPatternEdgeRouterData.getSourcePortConstraints()
Gets a mapping from edges to their source
PortConstraint . |
ItemMapping<IEdge,PortConstraint> |
BusRouterData.getSourcePortConstraints()
Gets a mapping from edges to their source
PortConstraint . |
ItemMapping<IEdge,Collection<PortCandidate>> |
OrthogonalPatternEdgeRouterData.getTargetPortCandidates()
Gets a mapping from edges to a collection of their target port
candidates . |
ItemMapping<IEdge,Collection<PortCandidate>> |
BusRouterData.getTargetPortCandidates()
Gets a mapping from edges to a collection of their target port
candidates . |
ItemMapping<IEdge,PortConstraint> |
StraightLineEdgeRouterData.getTargetPortConstraints()
Gets a mapping from edges to their target
PortConstraint . |
ItemMapping<IEdge,PortConstraint> |
OrthogonalPatternEdgeRouterData.getTargetPortConstraints()
Gets a mapping from edges to their target
PortConstraint . |
ItemMapping<IEdge,PortConstraint> |
BusRouterData.getTargetPortConstraints()
Gets a mapping from edges to their target
PortConstraint . |
Modifier and Type | Method and Description |
---|---|
void |
StraightLineEdgeRouterData.setAffectedEdges(DpKeyItemCollection<IEdge> value)
Sets the collection of affected edges.
|
void |
OrthogonalPatternEdgeRouterData.setAffectedEdges(DpKeyItemCollection<IEdge> value)
Sets the collection of edges affected by this router.
|
void |
BusRouterData.setAffectedEdges(DpKeyItemCollection<IEdge> value)
Sets the collection of edges affected by this router.
|
void |
OrganicEdgeRouterData.setAffectedEdges(ItemCollection<IEdge> value)
Sets the collection of edges routed by this router.
|
void |
ChannelEdgeRouterData.setAffectedEdges(ItemCollection<IEdge> value)
Sets the collection of edges affected by this router.
|
void |
BusRouterData.setEdgeDescriptors(ItemMapping<IEdge,BusDescriptor> value)
Sets the mapping of edges to their
BusDescriptor . |
void |
OrthogonalPatternEdgeRouterData.setSourcePortCandidates(ItemMapping<IEdge,Collection<PortCandidate>> value)
Sets a mapping from edges to a collection of their source port
candidates . |
void |
BusRouterData.setSourcePortCandidates(ItemMapping<IEdge,Collection<PortCandidate>> value)
Sets a mapping from edges to a collection of their source port
candidates . |
void |
StraightLineEdgeRouterData.setSourcePortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their source
PortConstraint . |
void |
OrthogonalPatternEdgeRouterData.setSourcePortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their source
PortConstraint . |
void |
BusRouterData.setSourcePortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their source
PortConstraint . |
void |
OrthogonalPatternEdgeRouterData.setTargetPortCandidates(ItemMapping<IEdge,Collection<PortCandidate>> value)
Sets a mapping from edges to a collection of their target port
candidates . |
void |
BusRouterData.setTargetPortCandidates(ItemMapping<IEdge,Collection<PortCandidate>> value)
Sets a mapping from edges to a collection of their target port
candidates . |
void |
StraightLineEdgeRouterData.setTargetPortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their target
PortConstraint . |
void |
OrthogonalPatternEdgeRouterData.setTargetPortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their target
PortConstraint . |
void |
BusRouterData.setTargetPortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their target
PortConstraint . |
Modifier and Type | Method and Description |
---|---|
DpKeyItemCollection<IEdge> |
PolylineEdgeRouterData.getAffectedEdges()
Gets the collection of affected edges.
|
ItemMapping<IEdge,EdgeLayoutDescriptor> |
PolylineEdgeRouterData.getEdgeLayoutDescriptors()
Gets the mapping of edges to their
EdgeLayoutDescriptor . |
ItemMapping<IEdge,Object> |
PolylineEdgeRouterData.getSourceGroupIds()
Gets a mapping from edges to an object representing their source edge group.
|
ItemMapping<IEdge,Collection<PortCandidate>> |
PolylineEdgeRouterData.getSourcePortCandidates()
Gets a mapping from edges to a collection of their source port
candidates . |
ItemMapping<IEdge,PortConstraint> |
PolylineEdgeRouterData.getSourcePortConstraints()
Gets a mapping from edges to their source
PortConstraint . |
ItemMapping<IEdge,Object> |
PolylineEdgeRouterData.getTargetGroupIds()
Gets a mapping from edges to an object representing their target edge group.
|
ItemMapping<IEdge,Collection<PortCandidate>> |
PolylineEdgeRouterData.getTargetPortCandidates()
Gets a mapping from edges to a collection of their target port
candidates . |
ItemMapping<IEdge,PortConstraint> |
PolylineEdgeRouterData.getTargetPortConstraints()
Gets a mapping from edges to their target
PortConstraint . |
Modifier and Type | Method and Description |
---|---|
void |
PolylineEdgeRouterData.setAffectedEdges(DpKeyItemCollection<IEdge> value)
Sets the collection of affected edges.
|
void |
PolylineEdgeRouterData.setEdgeLayoutDescriptors(ItemMapping<IEdge,EdgeLayoutDescriptor> value)
Sets the mapping of edges to their
EdgeLayoutDescriptor . |
void |
PolylineEdgeRouterData.setSourceGroupIds(ItemMapping<IEdge,Object> value)
Sets a mapping from edges to an object representing their source edge group.
|
void |
PolylineEdgeRouterData.setSourcePortCandidates(ItemMapping<IEdge,Collection<PortCandidate>> value)
Sets a mapping from edges to a collection of their source port
candidates . |
void |
PolylineEdgeRouterData.setSourcePortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their source
PortConstraint . |
void |
PolylineEdgeRouterData.setTargetGroupIds(ItemMapping<IEdge,Object> value)
Sets a mapping from edges to an object representing their target edge group.
|
void |
PolylineEdgeRouterData.setTargetPortCandidates(ItemMapping<IEdge,Collection<PortCandidate>> value)
Sets a mapping from edges to a collection of their target port
candidates . |
void |
PolylineEdgeRouterData.setTargetPortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their target
PortConstraint . |
Modifier and Type | Method and Description |
---|---|
ItemMapping<IEdge,EdgeLayoutDescriptor> |
SeriesParallelLayoutData.getEdgeLayoutDescriptors()
Gets the mapping from edges to their
EdgeLayoutDescriptor . |
ItemMapping<INode,Comparator<IEdge>> |
SeriesParallelLayoutData.getOutEdgeComparators()
Gets the mapping from nodes to comparison functions used to sort the nodes' outgoing edges.
|
ItemMapping<IEdge,Object> |
SeriesParallelLayoutData.getSourceGroupIds()
Gets a mapping from edges to an object representing their source edge group.
|
ItemMapping<IEdge,Object> |
SeriesParallelLayoutData.getTargetGroupIds()
Gets a mapping from edges to an object representing their target edge group.
|
Modifier and Type | Method and Description |
---|---|
void |
SeriesParallelLayoutData.setEdgeLayoutDescriptors(ItemMapping<IEdge,EdgeLayoutDescriptor> value)
Sets the mapping from edges to their
EdgeLayoutDescriptor . |
void |
SeriesParallelLayoutData.setOutEdgeComparators(ItemMapping<INode,Comparator<IEdge>> value)
Sets the mapping from nodes to comparison functions used to sort the nodes' outgoing edges.
|
void |
SeriesParallelLayoutData.setSourceGroupIds(ItemMapping<IEdge,Object> value)
Sets a mapping from edges to an object representing their source edge group.
|
void |
SeriesParallelLayoutData.setTargetGroupIds(ItemMapping<IEdge,Object> value)
Sets a mapping from edges to an object representing their target edge group.
|
Modifier and Type | Method and Description |
---|---|
ItemMapping<IEdge,EdgeBundleDescriptor> |
TreeReductionStageData.getEdgeBundleDescriptors()
Gets the mapping of edges to their
EdgeBundleDescriptor . |
ItemCollection<IEdge> |
TreeReductionStageData.getNonTreeEdges()
Gets the collection of edges explicitly marked as not belonging to a tree.
|
ItemMapping<INode,Comparator<IEdge>> |
TreeLayoutData.getOutEdgeComparators()
Gets the mapping from nodes to comparison functions used to sort the nodes' outgoing edges.
|
ItemMapping<IEdge,PortConstraint> |
TreeLayoutData.getSourcePortConstraints()
Gets a mapping from edges to their source
PortConstraint . |
ItemMapping<IEdge,PortConstraint> |
TreeLayoutData.getTargetPortConstraints()
Gets a mapping from edges to their target
PortConstraint . |
Modifier and Type | Method and Description |
---|---|
void |
TreeReductionStageData.setEdgeBundleDescriptors(ItemMapping<IEdge,EdgeBundleDescriptor> value)
Sets the mapping of edges to their
EdgeBundleDescriptor . |
void |
TreeReductionStageData.setNonTreeEdges(ItemCollection<IEdge> value)
Sets the collection of edges explicitly marked as not belonging to a tree.
|
void |
TreeLayoutData.setOutEdgeComparators(ItemMapping<INode,Comparator<IEdge>> value)
Sets the mapping from nodes to comparison functions used to sort the nodes' outgoing edges.
|
void |
TreeLayoutData.setSourcePortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their source
PortConstraint . |
void |
TreeLayoutData.setTargetPortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their target
PortConstraint . |
Modifier and Type | Method and Description |
---|---|
protected DefaultSelectionModel<IEdge> |
GraphSelection.createEdgeSelectionModel()
Factory method that creates the
DefaultSelectionModel to use for the edges. |
ISelectionModel<IEdge> |
IGraphSelection.getSelectedEdges()
An
ISelectionModel of the selected edges. |
ISelectionModel<IEdge> |
GraphSelection.getSelectedEdges() |
Modifier and Type | Method and Description |
---|---|
static IAnimation |
IAnimation.createEdgeSegmentAnimation(IGraph graph,
IEdge edge,
IPoint[] endBends,
PointD endSourceLocation,
PointD endTargetLocation,
Duration preferredDuration)
Creates a new
IAnimation that animates the given edge 's bends from its current shape linearly to the
shape given by the endBends and final port locations. |
protected IVisualTemplate |
EdgeSelectionIndicatorInstaller.getBendDrawing(CanvasControl canvas,
IEdge edge)
Callback method that retrieves the drawing of the bend for the context.
|
protected IVisualTemplate |
EdgeHighlightIndicatorInstaller.getBendDrawing(CanvasControl canvas,
IEdge edge)
Callback method that retrieves the drawing of the bend for the context.
|
protected IVisualTemplate |
EdgeFocusIndicatorInstaller.getBendDrawing(CanvasControl canvas,
IEdge edge)
Callback method that retrieves the drawing of the bend for the context.
|
protected abstract IVisualTemplate |
EdgeDecorationInstaller.getBendDrawing(CanvasControl canvas,
IEdge edge)
Callback method that retrieves the drawing of the bend for the context.
|
protected ICanvasObjectGroup |
GraphModelManager.getCanvasObjectGroup(IEdge edge)
Retrieves the Canvas Object group to use for the given edge.
|
protected String |
EdgeSelectionIndicatorInstaller.getDecoratorStyleClass(CanvasControl canvas,
IEdge edge) |
protected String |
EdgeHighlightIndicatorInstaller.getDecoratorStyleClass(CanvasControl canvas,
IEdge edge) |
protected String |
EdgeFocusIndicatorInstaller.getDecoratorStyleClass(CanvasControl canvas,
IEdge edge) |
protected abstract String |
EdgeDecorationInstaller.getDecoratorStyleClass(CanvasControl canvas,
IEdge edge)
Callback method that retrieves the style class for the context.
|
protected IEdgeStyle |
OverviewGraphVisualCreator.getEdgeStyle(IEdge edge)
Callback that returns and/or configures a edge style for the given node to render.
|
protected IVisualCreator |
OverviewGraphVisualCreator.getEdgeVisualCreator(IRenderContext context,
IEdge edge)
Obtains the
IVisualCreator for the given edge. |
protected Pen |
EdgeSelectionIndicatorInstaller.getPen(CanvasControl canvas,
IEdge edge)
Callback method that retrieves the pen for the context.
|
protected Pen |
EdgeHighlightIndicatorInstaller.getPen(CanvasControl canvas,
IEdge edge)
Callback method that retrieves the pen for the context.
|
protected Pen |
EdgeFocusIndicatorInstaller.getPen(CanvasControl canvas,
IEdge edge)
Callback method that retrieves the pen for the context.
|
protected abstract Pen |
EdgeDecorationInstaller.getPen(CanvasControl canvas,
IEdge edge)
Callback method that retrieves the pen for the context.
|
Modifier and Type | Method and Description |
---|---|
static IAnimation |
IAnimation.createGraphAnimation(IGraph graph,
IMapper<INode,IRectangle> targetNodeLayouts,
IMapper<IEdge,IPoint[]> targetBendLocations,
IMapper<IPort,IPortLocationModelParameter> targetPortLocations,
IMapper<ILabel,ILabelModelParameter> targetLayoutParameters,
Duration preferredDuration)
Creates a new
IAnimation that animates the given layout of all types of graph items. |
Modifier and Type | Field and Description |
---|---|
protected IEdge |
PortRelocationHandleProvider.edge
The edge this provider is working on.
|
Modifier and Type | Method and Description |
---|---|
protected IEdge |
CreateEdgeInputMode.createDummyEdge()
Creates the dummy edge that will be displayed by the input mode during the creation.
|
protected IEdge |
CreateEdgeInputMode.createEdge()
Callback at the end of the edge creation process.
|
protected IEdge |
CreateEdgeInputMode.createEdge(IGraph graph,
IPortCandidate sourcePortCandidate,
IPortCandidate targetPortCandidate)
Callback used by
CreateEdgeInputMode.createEdge() if both SourcePortCandidate and TargetPortCandidate
have been set. |
IEdge |
IEdgeCreationCallback.createEdge(IInputModeContext context,
IGraph graph,
IPortCandidate sourcePortCandidate,
IPortCandidate targetPortCandidate,
IEdge templateEdge)
The delegate method that is used by
CreateEdgeInputMode to create edges between
instances of IPort . |
IEdge |
CreateEdgeInputMode.getDummyEdge()
Gets the dummy edge instance that will be used to render a preview of the edge to be created.
|
protected IEdge |
PortRelocationHandle.getEdge()
Gets the edge this instance acts upon.
|
IEdge |
EdgeSegmentSnapLine.getEdge()
Gets the edge that is associated with this snap line.
|
protected IEdge |
CreateBendInputMode.getEdge(PointD location)
Finds the edge at the given coordinate.
|
Modifier and Type | Method and Description |
---|---|
protected Iterable<IEdge> |
OrthogonalEdgeEditingContext.getLockedPortEdges()
Provides access to the enumeration of
IEdge instances whose ports have been locked at source and target end. |
Modifier and Type | Method and Description |
---|---|
protected void |
EdgeSnapLineProvider.addHorizontalSegmentSnapLines(GraphSnapContext context,
CollectGraphSnapLinesEventArgs args,
IEdge edge,
PointD segmentStart,
PointD segmentEnd)
Adds horizontal snap lines for a horizontally oriented fixed segment snap lines.
|
protected void |
EdgeSnapLineProvider.addVerticalSegmentSnapLines(GraphSnapContext context,
CollectGraphSnapLinesEventArgs args,
IEdge edge,
PointD segmentStart,
PointD segmentEnd)
Adds vertical snap lines for a vertically oriented fixed segment snap lines.
|
void |
OrthogonalEdgeHelper.cleanUpEdge(IInputModeContext context,
IGraph graph,
IEdge edge)
Callback method that is invoked after the provided edge has been edited orthogonally.
|
void |
IOrthogonalEdgeHelper.cleanUpEdge(IInputModeContext context,
IGraph graph,
IEdge edge)
Callback method that is invoked after the provided edge has been edited orthogonally.
|
protected void |
OrthogonalEdgeEditingContext.cleanUpEdgePath(IGraph graph,
IEdge edge)
Cleans up the edge's path after a successfully
finished drag . |
void |
IEdgeSnapResultProvider.collectSnapResults(GraphSnapContext context,
CollectSnapResultsEventArgs args,
IListEnumerable<MovementInfo> movementInfos,
IEdge edge)
Called to during the snapping operation whenever
snap results are collected . |
protected IBend |
CreateBendInputMode.createBend(IEdge edge,
PointD location)
Creates the bend.
|
int |
IBendCreator.createBend(IInputModeContext context,
IGraph graph,
IEdge edge,
PointD location)
Creates a bend at the given graph for the given edge at the position supplied.
|
int |
DefaultBendCreator.createBend(IInputModeContext context,
IGraph graph,
IEdge edge,
PointD location) |
protected SimpleEdge |
PortRelocationHandle.createDummyEdge(IEdge edge)
Factory method that creates the dummy edge that will be shown during the drag operation.
|
IEdge |
IEdgeCreationCallback.createEdge(IInputModeContext context,
IGraph graph,
IPortCandidate sourcePortCandidate,
IPortCandidate targetPortCandidate,
IEdge templateEdge)
The delegate method that is used by
CreateEdgeInputMode to create edges between
instances of IPort . |
protected IHandle |
PortRelocationHandleProvider.createPortRelocationHandle(IGraph graph,
IEdge edge,
boolean sourcePort)
Factory method that creates the handle for this provider.
|
protected void |
CreateBendInputMode.dragSegment(IEdge edge,
PointD dragLocation)
Updates the
OrthogonalSegmentSplittingEnabled property and then delegates
to CreateBendInputMode.createBend(IEdge, PointD) . |
static IEdgeReconnectionPortCandidateProvider |
IEdgeReconnectionPortCandidateProvider.fromSourceAndTarget(IEdge edge)
Creates an implementation of the
IEdgeReconnectionPortCandidateProvider interface that returns the candidates
provided by the source and target port's owner's IPortCandidateProvider
implementations or the existing edge's port, if no such provider is registered. |
IHandle |
PortRelocationHandleProvider.getHandle(IInputModeContext context,
IEdge edge,
boolean sourceHandle) |
IHandle |
IEdgePortHandleProvider.getHandle(IInputModeContext context,
IEdge edge,
boolean sourceHandle)
Gets an
IHandle implementation for one end of the provided edge . |
protected IListEnumerable<MovementInfo> |
OrthogonalEdgeEditingContext.getMovementInfos(IEdge edge)
Gets the
movement infos that describe the orthogonal path of the edge. |
IListEnumerable<MovementInfo> |
GraphSnapContext.getMovementInfos(IEdge edge)
Gets the
movement information for the provided edge. |
protected IOrthogonalEdgeHelper |
OrthogonalEdgeEditingContext.getOrthogonalEdgeHelper(IEdge edge)
Callback method that gets the
IOrthogonalEdgeHelper instance associated with the given edge. |
protected Iterable<IPortCandidate> |
PortRelocationHandle.getPortCandidates(IInputModeContext context,
IEdge edge,
boolean sourcePort)
Gets the possible candidates for the given edge.
|
SegmentOrientation |
OrthogonalEdgeEditingContext.getSegmentOrientation(IEdge edge,
int segmentIndex)
Gets the declared segment orientation for the provided segment at the given edge.
|
SegmentOrientation |
OrthogonalEdgeHelper.getSegmentOrientation(IInputModeContext context,
IEdge edge,
int segmentIndex)
Gets the orientation of the given segment by looking at the geometry of the segment.
|
SegmentOrientation |
IOrthogonalEdgeHelper.getSegmentOrientation(IInputModeContext context,
IEdge edge,
int segmentIndex)
Gets the declared orientation of the given segment at the provided edge.
|
protected void |
PortRelocationHandle.hideOriginalEdge(IInputModeContext context,
IEdge edge)
Hides the original edge that during the drag operation.
|
boolean |
OrthogonalEdgeEditingContext.isOrthogonallyEditedEdge(IInputModeContext context,
IEdge edge)
Callback that can be used by
IDragHandler s and the like to determines whether the given edge is orthogonally
edited edge in the specified input mode context. |
void |
OrthogonalEdgeEditingContext.lockPortMovement(IEdge edge)
Locks the movement of the ports of the edges so that
OrthogonalEdgeEditingContext.shouldMoveEndImplicitly(IEdge, boolean) will yield false
for the provided edge during the current edit. |
protected void |
OrthogonalEdgeEditingContext.prepareOrthogonalEdge(IGraph graph,
IEdge edge,
IListEnumerable<SegmentOrientation> orientations,
IListEnumerable<MovementInfo> infos)
Helper method that inspects and prepares an orthogonal edge for the upcoming edit process.
|
void |
GraphEditorInputMode.reverseEdge(IEdge edge)
Reverses the given edges.
|
protected void |
PortRelocationHandle.setPort(IInputModeContext context,
IEdge edge,
boolean setSourcePort,
IPortCandidate portCandidate,
PointD suggestedLocation)
Callback that is triggered by
PortRelocationHandle.dragFinished(IInputModeContext, PointD, PointD) to actually change the port. |
protected void |
PortRelocationHandle.setPorts(IInputModeContext context,
IEdge edge,
IPort sourcePort,
IPort targetPort)
Finally sets the ports for the edge to the new values.
|
boolean |
OrthogonalEdgeHelper.shouldEditOrthogonally(IInputModeContext context,
IEdge edge)
Determines whether the provided edge should be edited orthogonally in the specified input mode context.
|
boolean |
IOrthogonalEdgeHelper.shouldEditOrthogonally(IInputModeContext context,
IEdge edge)
Determines whether the provided edge should be edited orthogonally in the specified input mode context.
|
boolean |
OrthogonalEdgeEditingContext.shouldMoveEndImplicitly(IEdge edge,
boolean sourceSide)
Callback that can be used by
IDragHandler s and the like to determines whether the
specified end of the provided edge should be moved implicitly. |
boolean |
OrthogonalEdgeHelper.shouldMoveEndImplicitly(IInputModeContext context,
IEdge edge,
boolean sourceEnd)
Determines whether this end of the provided edge can be moved in the input mode context.
|
boolean |
IOrthogonalEdgeHelper.shouldMoveEndImplicitly(IInputModeContext context,
IEdge edge,
boolean sourceEnd)
Determines whether this end of the provided edge can be moved in the input mode context.
|
protected boolean |
GraphEditorInputMode.shouldReverseEdge(IEdge edge)
Callback which determines whether the given edge should be reversed by
GraphEditorInputMode.reverseEdge(IEdge) ,
GraphEditorInputMode.reverseEdges(Iterable) , or GraphEditorInputMode.reverseEdges(Iterable) . |
protected void |
PortRelocationHandle.unhideOriginalEdge(IEdge edge,
CanvasControl canvas)
Unhides the original edge that was hidden during the drag operation.
|
Modifier and Type | Method and Description |
---|---|
void |
GraphEditorInputMode.reverseEdges(Iterable<IEdge> edges)
Reverses the given edges.
|
Constructor and Description |
---|
EdgeSegmentSnapLine(IEdge edge,
PointD segmentSource,
PointD segmentTarget,
double distance,
int segmentIndex)
Initializes a new instance of the
PointBasedSnapLine class. |
EdgeSegmentSnapLine(IEdge edge,
PointD from,
PointD to,
PointD segmentSource,
PointD segmentTarget,
double distance,
int segmentIndex,
Object tag,
double weight)
Initializes a new instance of the
PointBasedSnapLine class. |
PortRelocationHandle(IGraph graph,
IEdge edge,
boolean sourceEnd)
Creates a new instance of the
PortRelocationHandle class. |
PortRelocationHandleProvider(IGraph graph,
IEdge edge)
Initializes a new instance of the
PortRelocationHandleProvider class using the given graph and edge. |