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.genealogy |
Provides layout algorithms that are especially suited for genealogical family trees.
|
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 |
SimpleNode
A simple mutable implementation of the
INode interface that can be used stand-alone. |
Modifier and Type | Method and Description |
---|---|
INode |
FolderNodeState.asNode()
Returns an
INode instance which represents this folder node state. |
protected INode |
GraphCopier.copyGroupNode(IGraph sourceGraph,
IGraph targetGraph,
INode sourceGroupNode,
INode targetParent,
PointD offset)
Callback method that creates a copy of the
sourceGroupNode in the targetGraph . |
protected INode |
GraphCopier.copyNode(IGraph sourceGraph,
IGraph targetGraph,
INode node,
INode targetParent,
PointD offset)
Callback method that creates a copy of the
node in the targetGraph . |
protected INode |
GraphCopier.copyNode(IGraph sourceGraph,
IGraph targetGraph,
INode node,
PointD offset)
Callback method that creates a copy of the
node in the targetGraph . |
default INode |
IFoldingView.createFolderNode()
Directly creates a collapsed node on this instance with the given parameters.
|
default INode |
IFoldingView.createFolderNode(INode parent)
Directly creates a collapsed node on this instance with the given parameters.
|
default INode |
IFoldingView.createFolderNode(INode parent,
RectD layout)
Directly creates a collapsed node on this instance with the given parameters.
|
default INode |
IFoldingView.createFolderNode(INode parent,
RectD layout,
INodeStyle style)
Directly creates a collapsed node on this instance with the given parameters.
|
INode |
IFoldingView.createFolderNode(INode parent,
RectD layout,
INodeStyle style,
Object tag)
Directly creates a collapsed node on this instance with the given parameters.
|
default INode |
IGraph.createGroupNode()
Creates a new group node using the provided style and layout as a child of
parent . |
default INode |
IGraph.createGroupNode(INode parent)
Creates a new group node using the provided style and layout as a child of
parent . |
default INode |
IGraph.createGroupNode(INode parent,
RectD layout)
Creates a new group node using the provided style and layout as a child of
parent . |
default INode |
IGraph.createGroupNode(INode parent,
RectD layout,
INodeStyle style)
Creates a new group node using the provided style and layout as a child of
parent . |
INode |
IGraph.createGroupNode(INode parent,
RectD layout,
INodeStyle style,
Object tag)
Creates a new group node using the provided style and layout as a child of
parent . |
INode |
FilteredGraphWrapper.createGroupNode(INode parent,
RectD layout,
INodeStyle style,
Object tag) |
INode |
DefaultGraph.createGroupNode(INode parent,
RectD layout,
INodeStyle style,
Object tag) |
INode |
AbstractGraphWrapper.createGroupNode(INode parent,
RectD layout,
INodeStyle style,
Object tag) |
default INode |
IGraph.createNode()
Creates a new ordinary node as a direct descendant of
parent using the given layout and style. |
default INode |
IGraph.createNode(INode parent)
Creates a new ordinary node as a direct descendant of
parent using the given layout and style. |
default INode |
IGraph.createNode(INode parent,
RectD layout)
Creates a new ordinary node as a direct descendant of
parent using the given layout and style. |
default INode |
IGraph.createNode(INode parent,
RectD layout,
INodeStyle style)
Creates a new ordinary node as a direct descendant of
parent using the given layout and style. |
INode |
IGraph.createNode(INode parent,
RectD layout,
INodeStyle style,
Object tag)
Creates a new ordinary node as a direct descendant of
parent using the given layout and style. |
INode |
FilteredGraphWrapper.createNode(INode parent,
RectD layout,
INodeStyle style,
Object tag) |
INode |
DefaultGraph.createNode(INode parent,
RectD layout,
INodeStyle style,
Object tag) |
INode |
AbstractGraphWrapper.createNode(INode parent,
RectD layout,
INodeStyle style,
Object tag) |
default INode |
IGraph.createNode(PointD location)
Creates and returns a node using the specified initial center location and style, as well as the tag.
|
default INode |
IGraph.createNode(PointD location,
INodeStyle style)
Creates and returns a node using the specified initial center location and style, as well as the tag.
|
default INode |
IGraph.createNode(PointD location,
INodeStyle style,
Object tag)
Creates and returns a node using the specified initial center location and style, as well as the tag.
|
default INode |
IGraph.createNode(RectD layout)
Creates and returns a node using the specified values for the initial geometry, style, and
Tag . |
default INode |
IGraph.createNode(RectD layout,
INodeStyle style)
Creates and returns a node using the specified values for the initial geometry, style, and
Tag . |
INode |
IGraph.createNode(RectD layout,
INodeStyle style,
Object tag)
Creates and returns a node using the specified values for the initial geometry, style, and
Tag . |
INode |
DefaultGraph.createNode(RectD layout,
INodeStyle style,
Object tag) |
INode |
AbstractGraphWrapper.createNode(RectD layout,
INodeStyle style,
Object tag) |
INode |
FoldingEdgeStateId.getCurrentMasterSource()
The source node of the edge or an ancestor (both in the
MasterGraph ). |
INode |
FoldingEdgeStateId.getCurrentMasterTarget()
The target node of the edge or an ancestor (both in the
MasterGraph ). |
INode |
IFoldingView.getLocalRoot()
Gets an entity of the
MasterGraph hierarchy to serve as the virtual root for the
view's local hierarchy. |
INode |
GroupingSupport.getNearestCommonAncestor(INode... nodes)
Determines the nearest common ancestor of the provided nodes in the graph.
|
INode |
GroupingSupport.getNearestCommonAncestor(Iterable<INode> nodes)
Determines the nearest common ancestor of the provided nodes in the graph.
|
INode |
NodeEventArgs.getParent()
The parent of the
node before this event. |
INode |
IGraph.getParent(INode node)
Returns the parent node of the node or
null if node is a top-level node. |
INode |
FilteredGraphWrapper.getParent(INode node) |
INode |
DefaultGraph.getParent(INode node) |
INode |
AbstractGraphWrapper.getParent(INode node) |
default INode |
IEdge.getSourceNode()
Gets the source node for the given edge or
null . |
protected INode |
GraphClipboard.getTarget(INode originalNode)
Provides a parent group node for the given
originalNode . |
default INode |
IEdge.getTargetNode()
Gets the target node for the given edge or
null . |
default INode |
IGraph.groupNodes(INode... children)
Groups the nodes into a newly created group node.
|
default INode |
IGraph.groupNodes(Iterable<INode> children)
Groups the nodes in
children into a newly created group node. |
Modifier and Type | Method and Description |
---|---|
default <V> IMapper<INode,V> |
IMapperRegistry.createConstantMapper(Class<V> valueType,
NodeDpKey<V> tag,
V constant)
|
default <V> IMapper<INode,V> |
IMapperRegistry.createDelegateMapper(Class<V> valueType,
NodeDpKey<V> tag,
Function<INode,V> getter)
|
default <V> Mapper<INode,V> |
IMapperRegistry.createMapper(Class<V> valueType,
NodeDpKey<V> tag)
|
default <V> Mapper<INode,V> |
IMapperRegistry.createWeakMapper(Class<V> valueType,
NodeDpKey<V> tag)
|
IListEnumerable<INode> |
IGraph.getChildren(INode node)
Returns an enumerable over the children of the provided node.
|
IListEnumerable<INode> |
FilteredGraphWrapper.getChildren(INode node) |
IListEnumerable<INode> |
DefaultGraph.getChildren(INode node) |
IListEnumerable<INode> |
AbstractGraphWrapper.getChildren(INode node) |
LookupDecorator<INode,IClipboardHelper> |
NodeDecorator.getClipboardHelperDecorator()
Gets a
LookupDecorator that decorates the IClipboardHelper type for the type of items this instance has
been created for. |
<TInterface> |
NodeDecorator.getDecoratorFor(Class<TInterface> interfaceType)
|
<TInterface> |
NodeDecorator.getDecoratorFor(Class<TInterface> interfaceType,
boolean decorateNulls)
|
<TInterface> |
NodeDecorator.getDecoratorFor(Class<TInterface> interfaceType,
boolean decorateNulls,
boolean nullIsFallback)
|
IEnumerable<INode> |
GroupingSupport.getDescendants(INode node)
Returns all descendants of the provided node that are part of the grouped graph.
|
IEnumerable<INode> |
GroupingSupport.getDescendantsBottomUp(INode node)
Returns all descendants of the provided node that are part of the grouped graph.
|
LookupDecorator<INode,IEditLabelHelper> |
NodeDecorator.getEditLabelHelperDecorator()
Gets a
LookupDecorator that decorates the IEditLabelHelper type for the
INode s this instance has been created for. |
LookupDecorator<INode,IFocusIndicatorInstaller> |
NodeDecorator.getFocusIndicatorDecorator()
Gets a
LookupDecorator that decorates the IFocusIndicatorInstaller type for the type of items this
instance has been created for. |
LookupDecorator<INode,IGroupBoundsCalculator> |
NodeDecorator.getGroupBoundsCalculatorDecorator()
Gets a
LookupDecorator that decorates the IGroupBoundsCalculator type for the
INode s this instance has been created for. |
LookupDecorator<INode,IHandleProvider> |
NodeDecorator.getHandleProviderDecorator()
Gets a
LookupDecorator that decorates the IHandleProvider type for the type of items this instance has
been created for. |
LookupDecorator<INode,IHighlightIndicatorInstaller> |
NodeDecorator.getHighlightDecorator()
Gets a
LookupDecorator that decorates the IHighlightIndicatorInstaller type for the type of items this
instance has been created for. |
LookupDecorator<INode,INodeInsetsProvider> |
NodeDecorator.getInsetsProviderDecorator()
Gets a
LookupDecorator that decorates the INodeInsetsProvider (tied to the INode type parameter)
for the INode s this instance has been created for. |
default <V> IMapper<INode,V> |
IMapperRegistry.getMapper(Class<V> valueType,
NodeDpKey<V> tag)
Returns a mapper that has previously been registered with this instance for the given tag.
|
LookupDecorator<INode,IMarqueeTestable> |
NodeDecorator.getMarqueeTestableDecorator()
Gets a
LookupDecorator that decorates the IMarqueeTestable type for the type of items this instance has
been created for. |
LookupDecorator<INode,IMementoSupport> |
NodeDecorator.getMementoSupportDecorator()
Gets a
LookupDecorator that decorates the IMementoSupport type for the type of items this instance has
been created for. |
Predicate<INode> |
FilteredGraphWrapper.getNodePredicate()
Gets the predicate function for the nodes.
|
LookupDecorator<INode,INodeReshapeSnapResultProvider> |
NodeDecorator.getNodeReshapeSnapResultProviderDecorator()
Gets a
LookupDecorator that decorates the ISnapLineProvider for the
INode s this instance has been created for. |
IListEnumerable<INode> |
IGraph.getNodes()
A view of the nodes contained in this graph.
|
IListEnumerable<INode> |
FilteredGraphWrapper.getNodes() |
IListEnumerable<INode> |
DefaultGraph.getNodes() |
IListEnumerable<INode> |
AbstractGraphWrapper.getNodes() |
LookupDecorator<INode,INodeSnapResultProvider> |
NodeDecorator.getNodeSnapResultProviderDecorator()
Gets a
LookupDecorator that decorates the INodeSnapResultProvider for the
INode s this instance has been created for. |
LookupDecorator<INode,IObstacleProvider> |
NodeDecorator.getObstacleProviderDecorator()
Gets a
LookupDecorator that decorates the IObstacleProvider type for the type of items this instance has
been created for. |
List<INode> |
GroupingSupport.getPathToRoot(INode node)
Gets the path to root traversing all
parents of the given item. |
LookupDecorator<INode,IPortCandidateProvider> |
NodeDecorator.getPortCandidateProviderDecorator()
Gets a
LookupDecorator that decorates the IPortCandidateProvider for the
INode s this instance has been created for. |
LookupDecorator<INode,IPositionHandler> |
NodeDecorator.getPositionHandlerDecorator()
Gets a
LookupDecorator that decorates the IPositionHandler type for the type of items this instance has
been created for. |
LookupDecorator<INode,IReshapeHandleProvider> |
NodeDecorator.getReshapeHandleProviderDecorator()
Gets a
LookupDecorator that decorates the IReshapeHandleProvider type for the
INode s this instance has been created for. |
LookupDecorator<INode,ISelectionIndicatorInstaller> |
NodeDecorator.getSelectionDecorator()
Gets a
LookupDecorator that decorates the ISelectionIndicatorInstaller type for the type of items this
instance has been created for. |
LookupDecorator<INode,IShapeGeometry> |
NodeDecorator.getShapeGeometryDecorator()
Gets a
LookupDecorator that decorates the IShapeGeometry type for the type
INode s this instance has been created for. |
LookupDecorator<INode,INodeSizeConstraintProvider> |
NodeDecorator.getSizeConstraintProviderDecorator()
Gets a
LookupDecorator that decorates the INodeSizeConstraintProvider type for the type
INode s this instance has been created for. |
LookupDecorator<INode,ISnapLineProvider> |
NodeDecorator.getSnapLineProviderDecorator()
Gets a
LookupDecorator that decorates the ISnapLineProvider for the
INode s this instance has been created for. |
Modifier and Type | Method and Description |
---|---|
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) |
default IPort |
IGraph.addRelativePort(INode node,
PointD relativeLocation)
Adds a new port to the graph at the node using a location that is relative to the center of the node.
|
default void |
IGraph.adjustGroupNodeLayout(INode groupNode)
Method to adjust the size of a group node.
|
RectD |
IGroupBoundsCalculator.calculateBounds(IGraph graph,
INode groupNode)
|
RectD |
GroupingSupport.calculateMinimumEnclosedArea(INode groupNode)
Calculates the minimum area to enclose by the given group node with respect to its
IGroupBoundsCalculator . |
void |
IFoldingView.collapse(INode groupNode)
This method will collapse the
children of a group node into the group node. |
protected void |
GraphClipboard.copy(IGraph sourceGraph,
Predicate<IModelItem> filter,
IGraph targetGraph,
INode targetRootNode,
IElementCopiedCallback elementCopiedCallback)
Calls
GraphCopier.copy(IGraph, Predicate, IGraph, INode, PointD, IElementCopiedCallback) on the current ToClipboardCopier
instance or FromClipboardCopier instance, depending on whether the targetGraph
is the ClipboardGraph instance. |
void |
GraphCopier.copy(IGraph sourceGraph,
Predicate<IModelItem> filter,
IGraph targetGraph,
INode targetRootNode,
PointD offset,
IElementCopiedCallback elementCopiedCallback)
|
protected INode |
GraphCopier.copyGroupNode(IGraph sourceGraph,
IGraph targetGraph,
INode sourceGroupNode,
INode targetParent,
PointD offset)
Callback method that creates a copy of the
sourceGroupNode in the targetGraph . |
protected INode |
GraphCopier.copyNode(IGraph sourceGraph,
IGraph targetGraph,
INode node,
INode targetParent,
PointD offset)
Callback method that creates a copy of the
node in the targetGraph . |
protected INode |
GraphCopier.copyNode(IGraph sourceGraph,
IGraph targetGraph,
INode node,
PointD offset)
Callback method that creates a copy of the
node in the targetGraph . |
INodeStyle |
GraphCopier.copyNodeStyle(IGraph graph,
INode node)
Copies an
INodeStyle instance. |
protected Object |
GraphCopier.copyNodeTag(INode node,
Object tag)
|
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 INode |
IFoldingView.createFolderNode(INode parent)
Directly creates a collapsed node on this instance with the given parameters.
|
default INode |
IFoldingView.createFolderNode(INode parent,
RectD layout)
Directly creates a collapsed node on this instance with the given parameters.
|
default INode |
IFoldingView.createFolderNode(INode parent,
RectD layout,
INodeStyle style)
Directly creates a collapsed node on this instance with the given parameters.
|
INode |
IFoldingView.createFolderNode(INode parent,
RectD layout,
INodeStyle style,
Object tag)
Directly creates a collapsed node on this instance with the given parameters.
|
IFoldingView |
FoldingManager.createFoldingView(INode root)
Creates a separate view instance of the
MasterGraph which is a synchronized copy of a subset
of the items from the master graph. |
IFoldingView |
FoldingManager.createFoldingView(INode root,
Predicate<INode> isExpanded)
Creates a separate view instance of the
MasterGraph which is a synchronized copy of a subset
of the items from the master graph. |
default INode |
IGraph.createGroupNode(INode parent)
Creates a new group node using the provided style and layout as a child of
parent . |
default INode |
IGraph.createGroupNode(INode parent,
RectD layout)
Creates a new group node using the provided style and layout as a child of
parent . |
default INode |
IGraph.createGroupNode(INode parent,
RectD layout,
INodeStyle style)
Creates a new group node using the provided style and layout as a child of
parent . |
INode |
IGraph.createGroupNode(INode parent,
RectD layout,
INodeStyle style,
Object tag)
Creates a new group node using the provided style and layout as a child of
parent . |
INode |
FilteredGraphWrapper.createGroupNode(INode parent,
RectD layout,
INodeStyle style,
Object tag) |
INode |
DefaultGraph.createGroupNode(INode parent,
RectD layout,
INodeStyle style,
Object tag) |
INode |
AbstractGraphWrapper.createGroupNode(INode parent,
RectD layout,
INodeStyle style,
Object tag) |
default INode |
IGraph.createNode(INode parent)
Creates a new ordinary node as a direct descendant of
parent using the given layout and style. |
default INode |
IGraph.createNode(INode parent,
RectD layout)
Creates a new ordinary node as a direct descendant of
parent using the given layout and style. |
default INode |
IGraph.createNode(INode parent,
RectD layout,
INodeStyle style)
Creates a new ordinary node as a direct descendant of
parent using the given layout and style. |
INode |
IGraph.createNode(INode parent,
RectD layout,
INodeStyle style,
Object tag)
Creates a new ordinary node as a direct descendant of
parent using the given layout and style. |
INode |
FilteredGraphWrapper.createNode(INode parent,
RectD layout,
INodeStyle style,
Object tag) |
INode |
DefaultGraph.createNode(INode parent,
RectD layout,
INodeStyle style,
Object tag) |
INode |
AbstractGraphWrapper.createNode(INode parent,
RectD layout,
INodeStyle style,
Object tag) |
protected INodeStyle |
DefaultFolderNodeConverter.createNodeStyle(IFoldingView foldingView,
INode viewNode,
INode masterNode)
Callback factory method that creates the
INodeStyle for use in
DefaultFolderNodeConverter.initializeFolderNodeStyle(FolderNodeState, IFoldingView, INode, INode) . |
protected IUndoUnit |
DefaultGraph.createUndoUnitForIsGroupNodeChange(INode node,
boolean isGroupNode)
Creates the
undo unit for changing whether the given node is a group node. |
protected IUndoUnit |
DefaultGraph.createUndoUnitForNodeCreation(INode node,
INode parent,
boolean isGroupNode)
Creates the node creation
undo unit for the given node. |
protected IUndoUnit |
DefaultGraph.createUndoUnitForNodeRemoval(INode node)
Creates the node removal
undo unit for the given node. |
protected IUndoUnit |
DefaultGraph.createUndoUnitForParentChange(INode node,
INode oldParent,
INode newParent)
Creates the parent change
undo unit for the given node. |
void |
GroupingSupport.enlargeGroupNode(IInputModeContext context,
INode node,
boolean ancestors)
Enlarges the group nodes in an interactive scenario, using
IReshapeHandler implementations of the group nodes to
perform the actual resizing. |
void |
GroupingSupport.enlargeGroupNode(INode groupNode,
boolean ancestors)
Enlarges the given group node to ensure that the
minimum enclosed area is
inside of its bounds. |
void |
IFoldingView.expand(INode groupNode)
This method will expand a previously
collapsed group node to make its contents appear in this
view. |
default IColumn |
ITable.findColumn(INode node,
PointD location,
Predicate<IStripe> filter)
Convenience method to find a column underneath a certain point.
|
default IRow |
ITable.findRow(INode node,
PointD location,
Predicate<IStripe> filter)
Convenience method to find a row underneath a certain point.
|
default IEnumerable<IStripe> |
ITable.findStripes(INode node,
PointD location,
StripeTypes stripeTypes,
Predicate<IStripe> filter)
Convenience method to find all stripes underneath a certain point.
|
default RectD |
IStripe.getAbsoluteBounds(INode node)
Returns the layout of
stripe in absolute coordinates. |
static RectD |
ITable.getCellBounds(INode tableNode,
IColumn column,
IRow row)
Calculates the absolute bounds of a table cell that is determined by
column and . |
IListEnumerable<INode> |
IGraph.getChildren(INode node)
Returns an enumerable over the children of the provided node.
|
IListEnumerable<INode> |
FilteredGraphWrapper.getChildren(INode node) |
IListEnumerable<INode> |
DefaultGraph.getChildren(INode node) |
IListEnumerable<INode> |
AbstractGraphWrapper.getChildren(INode node) |
IEnumerable<INode> |
GroupingSupport.getDescendants(INode node)
Returns all descendants of the provided node that are part of the grouped graph.
|
IEnumerable<INode> |
GroupingSupport.getDescendantsBottomUp(INode node)
Returns all descendants of the provided node that are part of the grouped graph.
|
FolderNodeState |
FoldingManager.getFolderNodeState(INode masterNode)
Provides access to the folder node state of a node.
|
INode |
GroupingSupport.getNearestCommonAncestor(INode... nodes)
Determines the nearest common ancestor of the provided nodes in the graph.
|
INode |
IGraph.getParent(INode node)
Returns the parent node of the node or
null if node is a top-level node. |
INode |
FilteredGraphWrapper.getParent(INode node) |
INode |
DefaultGraph.getParent(INode node) |
INode |
AbstractGraphWrapper.getParent(INode node) |
List<INode> |
GroupingSupport.getPathToRoot(INode node)
Gets the path to root traversing all
parents of the given item. |
protected INode |
GraphClipboard.getTarget(INode originalNode)
Provides a parent group node for the given
originalNode . |
default INode |
IGraph.groupNodes(INode... children)
Groups the nodes into a newly created group node.
|
default void |
IGraph.groupNodes(INode parent,
Iterable<INode> children)
Groups the nodes in
children into the provided group node. |
boolean |
FoldingManager.hasFolderNodeState(INode masterNode)
Determines whether for the given
masterNode this manager has stored associated folder node state. |
protected void |
DefaultFolderNodeConverter.initializeFolderNodeLabels(FolderNodeState state,
IFoldingView foldingView,
INode viewNode,
INode masterNode)
Callback method that initializes the initial labels of the collapsed group node.
|
protected void |
DefaultFolderNodeConverter.initializeFolderNodeLayout(FolderNodeState state,
IFoldingView foldingView,
INode viewNode,
INode masterNode)
Callback method that initializes the
Layout of the collapsed group node. |
protected void |
DefaultFolderNodeConverter.initializeFolderNodePorts(FolderNodeState state,
IFoldingView foldingView,
INode viewNode,
INode masterNode)
Called by
DefaultFolderNodeConverter.initializeFolderNodeState(FolderNodeState, IFoldingView, INode, INode) to initialize the appearance
of the representatives of the master ports at the
collapsed group node. |
void |
IFolderNodeConverter.initializeFolderNodeState(FolderNodeState state,
IFoldingView foldingView,
INode viewNode,
INode masterNode)
|
void |
DefaultFolderNodeConverter.initializeFolderNodeState(FolderNodeState state,
IFoldingView foldingView,
INode viewNode,
INode masterNode)
Implements the
IFolderNodeConverter.initializeFolderNodeState(FolderNodeState, IFoldingView, INode, INode)
method and initializes the appearance of the collapsed group node. |
protected void |
DefaultFolderNodeConverter.initializeFolderNodeStyle(FolderNodeState state,
IFoldingView foldingView,
INode viewNode,
INode masterNode)
Callback method that initializes the
style property of the collapsed group node. |
boolean |
GroupingSupport.isDescendant(INode node,
INode ancestor)
Determines whether
ancestor is an ancestor of node in the grouped graph. |
boolean |
IFoldingView.isExpanded(INode groupNode)
Determines whether the provided node is currently expanded or will be displayed in
IFoldingView.expand(INode) ed state the next time it will be included in this view. |
boolean |
IGraph.isGroupNode(INode node)
Returns whether the given node is considered a group node.
|
boolean |
FilteredGraphWrapper.isGroupNode(INode node) |
boolean |
DefaultGraph.isGroupNode(INode node) |
boolean |
AbstractGraphWrapper.isGroupNode(INode node) |
void |
FilteredGraphWrapper.nodePredicateChanged(INode node)
Should be called by clients if the
NodePredicate changed for the given node. |
protected void |
DefaultGraph.onAddingNodeLabel(INode node,
ILabel label)
Callback method that will be called just before a node label is added to a node.
|
protected void |
DefaultGraph.onChangingNodeStyle(INode node,
INodeStyle newStyle)
Callback that is invoked before a node style is being changed.
|
protected void |
DefaultGraph.onCreatingNode(INode node)
Callback that is invoked before the node is added to this graph's structure.
|
protected void |
GraphCopier.onNodeCopied(INode original,
INode copy)
Called after a node has been copied.
|
protected void |
DefaultGraph.onNodeCreated(INode node)
Callback that triggers the
NodeCreated event. |
protected void |
DefaultGraph.onNodeLayoutChanged(INode node,
RectD oldLayout)
Callback that is invoked after a node layout has changed.
|
protected void |
AbstractGraphWrapper.onNodeLayoutChanged(INode node,
RectD oldLayout)
Raises the
NodeLayoutChanged event. |
void |
INodeLayoutChangedHandler.onNodeLayoutChanged(Object source,
INode node,
RectD oldLayout)
Event delegate method that is used in
IGraph 's NodeLayoutChanged
event. |
protected void |
DefaultGraph.onNodeRemoved(INode node,
INode oldParent,
boolean oldIsGroupNode)
Callback that triggers the
NodeRemoved event. |
protected void |
DefaultGraph.onNodeStyleChanged(INode node,
INodeStyle oldStyle)
Callback that is invoked after a node style has changed.
|
protected void |
DefaultGraph.onNodeTagChanged(INode node,
Object oldTag)
Callback that is invoked after a node tag has changed.
|
protected void |
DefaultGraph.onRemovingNode(INode node)
Callback that will be invoked before the node will be removed.
|
protected void |
GraphClipboard.paste(IGraph sourceGraph,
Predicate<IModelItem> filter,
IGraph targetGraph,
INode targetRootNode,
IElementCopiedCallback elementCopiedCallback,
Predicate<IModelItem> targetFilter)
Calls
GraphCopier.copy(IGraph, Predicate, IGraph, INode, PointD, IElementCopiedCallback) on the current FromClipboardCopier
instance, depending on whether the targetGraph is the ClipboardGraph instance. |
static void |
ITable.placeNodeInCell(IGraph graph,
INode node,
INode tableNode,
IColumn column,
IRow row)
Places
node in the center of the table cell determined by column and row . |
static void |
ITable.placeNodeInCell(IGraph graph,
INode node,
INode tableNode,
IColumn column,
IRow row,
boolean reparent)
Places
node in the center of the table cell determined by column and row . |
static void |
ITable.placeNodeInCell(IGraph graph,
INode node,
INode tableNode,
IColumn column,
IRow row,
boolean reparent,
boolean alwaysMove)
Places
node in the center of the table cell determined by column and row . |
void |
IGraph.setIsGroupNode(INode node,
boolean isGroupNode)
Determines whether the given node should be considered a group node.
|
void |
FilteredGraphWrapper.setIsGroupNode(INode node,
boolean isGroupNode) |
void |
DefaultGraph.setIsGroupNode(INode node,
boolean isGroupNode) |
void |
AbstractGraphWrapper.setIsGroupNode(INode node,
boolean isGroupNode) |
void |
IFoldingView.setLocalRoot(INode value)
Sets an entity of the
MasterGraph hierarchy to serve as the virtual root for the
view's local hierarchy. |
default void |
IGraph.setNodeCenter(INode node,
PointD center)
Sets the center of a node to the given world coordinates.
|
void |
IGraph.setNodeLayout(INode node,
RectD layout)
Sets the layout of the given node to the new value.
|
void |
DefaultGraph.setNodeLayout(INode node,
RectD layout)
Sets the layout of the given node to the new values.
|
void |
AbstractGraphWrapper.setNodeLayout(INode node,
RectD layout) |
void |
IGraph.setParent(INode node,
INode parent)
Sets the parent node for a given node.
|
void |
FilteredGraphWrapper.setParent(INode node,
INode parent) |
void |
DefaultGraph.setParent(INode node,
INode parent) |
void |
AbstractGraphWrapper.setParent(INode node,
INode parent) |
void |
IGraph.setStyle(INode node,
INodeStyle style)
Assigns the given style instance by reference to the node.
|
void |
DefaultGraph.setStyle(INode node,
INodeStyle style)
Assigns the given style instance by reference to the node.
|
void |
AbstractGraphWrapper.setStyle(INode node,
INodeStyle style) |
protected void |
DefaultFolderNodeConverter.synchronizeLabels(FolderNodeState state,
IFoldingView foldingView,
INode viewNode,
INode masterNode)
Called by
DefaultFolderNodeConverter.updateFolderNodeState(FolderNodeState, IFoldingView, INode, INode) to synchronize the first label if
CopyingFirstLabelEnabled is enabled. |
void |
IFolderNodeConverter.updateFolderNodeState(FolderNodeState state,
IFoldingView foldingView,
INode viewNode,
INode masterNode)
|
void |
DefaultFolderNodeConverter.updateFolderNodeState(FolderNodeState state,
IFoldingView foldingView,
INode viewNode,
INode masterNode)
Implements the
IFolderNodeConverter.updateFolderNodeState(FolderNodeState, IFoldingView, INode, INode) method
and changes the folder node appearance. |
void |
FoldingManager.updateFolderNodeStates(INode masterNode)
Triggers a call to
IFolderNodeConverter.updateFolderNodeState(FolderNodeState, IFoldingView, INode, INode) for
all view nodes that represent the given masterNode
in its collapsed state. |
Modifier and Type | Method and Description |
---|---|
void |
IFoldingView.addGroupCollapsedListener(IEventHandler<ItemEventArgs<INode>> groupCollapsedEvent)
Adds the given listener for the
GroupCollapsed event that occurs whenever a group has been
IFoldingView.collapse(INode) d. |
void |
IFoldingView.addGroupExpandedListener(IEventHandler<ItemEventArgs<INode>> groupExpandedEvent)
Adds the given listener for the
GroupExpanded event that occurs whenever a group has been
IFoldingView.expand(INode) ed. |
default <V> void |
IMapperRegistry.addMapper(Class<V> valueType,
NodeDpKey<V> tag,
IMapper<INode,V> mapper)
Adds a previously created mapper to this instance for the given tag.
|
void |
GraphCopier.addNodeCopiedListener(IEventHandler<ItemCopiedEventArgs<INode>> nodeCopiedEvent)
Adds the given listener for the
NodeCopied event that occurs after a node has been copied. |
void |
IGraph.addNodeCreatedListener(IEventHandler<ItemEventArgs<INode>> nodeCreatedEvent)
Adds the given listener for the
NodeCreated event that occurs when a node has been created. |
void |
DefaultGraph.addNodeCreatedListener(IEventHandler<ItemEventArgs<INode>> nodeCreatedEvent) |
void |
AbstractGraphWrapper.addNodeCreatedListener(IEventHandler<ItemEventArgs<INode>> nodeCreatedEvent) |
void |
IGraph.addNodeStyleChangedListener(IEventHandler<ItemChangedEventArgs<INode,INodeStyle>> nodeStyleChangedEvent)
Adds the given listener for the
NodeStyleChanged event that occurs when a node style has been replaced. |
void |
DefaultGraph.addNodeStyleChangedListener(IEventHandler<ItemChangedEventArgs<INode,INodeStyle>> nodeStyleChangedEvent) |
void |
AbstractGraphWrapper.addNodeStyleChangedListener(IEventHandler<ItemChangedEventArgs<INode,INodeStyle>> nodeStyleChangedEvent) |
void |
IGraph.addNodeTagChangedListener(IEventHandler<ItemChangedEventArgs<INode,Object>> nodeTagChangedEvent)
Adds the given listener for the
NodeTagChanged event that occurs when the tag of a
node has been replaced. |
void |
DefaultGraph.addNodeTagChangedListener(IEventHandler<ItemChangedEventArgs<INode,Object>> nodeTagChangedEvent) |
void |
AbstractGraphWrapper.addNodeTagChangedListener(IEventHandler<ItemChangedEventArgs<INode,Object>> nodeTagChangedEvent) |
default <V> IMapper<INode,V> |
IMapperRegistry.createDelegateMapper(Class<V> valueType,
NodeDpKey<V> tag,
Function<INode,V> getter)
|
IFoldingView |
FoldingManager.createFoldingView(INode root,
Predicate<INode> isExpanded)
Creates a separate view instance of the
MasterGraph which is a synchronized copy of a subset
of the items from the master graph. |
INode |
GroupingSupport.getNearestCommonAncestor(Iterable<INode> nodes)
Determines the nearest common ancestor of the provided nodes in the graph.
|
default void |
IGraph.groupNodes(INode parent,
Iterable<INode> children)
Groups the nodes in
children into the provided group node. |
default INode |
IGraph.groupNodes(Iterable<INode> children)
Groups the nodes in
children into a newly created group node. |
protected void |
AbstractGraphWrapper.onNodeCreated(ItemEventArgs<INode> args)
Raises the
NodeCreated event. |
protected void |
AbstractGraphWrapper.onNodeStyleChanged(ItemChangedEventArgs<INode,INodeStyle> args)
Raises the
NodeStyleChanged event. |
protected void |
AbstractGraphWrapper.onNodeTagChanged(ItemChangedEventArgs<INode,Object> args)
Raises the
NodeTagChanged event. |
void |
IFoldingView.removeGroupCollapsedListener(IEventHandler<ItemEventArgs<INode>> groupCollapsedEvent)
Removes the given listener for the
GroupCollapsed event that occurs whenever a group has been
IFoldingView.collapse(INode) d. |
void |
IFoldingView.removeGroupExpandedListener(IEventHandler<ItemEventArgs<INode>> groupExpandedEvent)
Removes the given listener for the
GroupExpanded event that occurs whenever a group has been
IFoldingView.expand(INode) ed. |
void |
GraphCopier.removeNodeCopiedListener(IEventHandler<ItemCopiedEventArgs<INode>> nodeCopiedEvent)
Removes the given listener for the
NodeCopied event that occurs after a node has been copied. |
void |
IGraph.removeNodeCreatedListener(IEventHandler<ItemEventArgs<INode>> nodeCreatedEvent)
Removes the given listener for the
NodeCreated event that occurs when a node has been created. |
void |
DefaultGraph.removeNodeCreatedListener(IEventHandler<ItemEventArgs<INode>> nodeCreatedEvent) |
void |
AbstractGraphWrapper.removeNodeCreatedListener(IEventHandler<ItemEventArgs<INode>> nodeCreatedEvent) |
void |
IGraph.removeNodeStyleChangedListener(IEventHandler<ItemChangedEventArgs<INode,INodeStyle>> nodeStyleChangedEvent)
Removes the given listener for the
NodeStyleChanged event that occurs when a node style has been replaced. |
void |
DefaultGraph.removeNodeStyleChangedListener(IEventHandler<ItemChangedEventArgs<INode,INodeStyle>> nodeStyleChangedEvent) |
void |
AbstractGraphWrapper.removeNodeStyleChangedListener(IEventHandler<ItemChangedEventArgs<INode,INodeStyle>> nodeStyleChangedEvent) |
void |
IGraph.removeNodeTagChangedListener(IEventHandler<ItemChangedEventArgs<INode,Object>> nodeTagChangedEvent)
Removes the given listener for the
NodeTagChanged event that occurs when the tag of a
node has been replaced. |
void |
DefaultGraph.removeNodeTagChangedListener(IEventHandler<ItemChangedEventArgs<INode,Object>> nodeTagChangedEvent) |
void |
AbstractGraphWrapper.removeNodeTagChangedListener(IEventHandler<ItemChangedEventArgs<INode,Object>> nodeTagChangedEvent) |
Constructor and Description |
---|
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. |
NodeEventArgs(INode item,
INode oldParent,
boolean oldIsGroupNode)
Creates a new instance.
|
NodeReshapeHandler(INode node) |
NodeReshapeHandles(IReshapeHandler handler,
HandlePositions handlePositions,
INode item) |
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 INode |
TemplateNodeStyleRenderer.getNode()
Gets the currently configured node.
|
protected INode |
TableNodeStyleRenderer.getNode()
Gets the currently configured node.
|
protected INode |
ShinyPlateNodeStyleRenderer.getNode()
Gets the currently configured node.
|
protected INode |
ShapeNodeStyleRenderer.getNode()
Gets the currently configured node.
|
protected INode |
PanelNodeStyleRenderer.getNode()
Gets the currently configured node.
|
protected INode |
MemoryImageNodeStyleRenderer.getNode()
Gets the currently configured node.
|
protected INode |
ImageNodeStyleRenderer.getNode()
Gets the currently configured node.
|
protected INode |
GeneralPathNodeStyleRenderer.getNode()
Gets the currently configured node.
|
protected INode |
CollapsibleNodeStyleDecoratorRenderer.getNode()
Gets the currently configured node.
|
protected INode |
BevelNodeStyleRenderer.getNode()
Gets the currently configured node.
|
Modifier and Type | Method and Description |
---|---|
Node |
TemplateNodeStyle.createControl(IRenderContext context,
INode node)
Factory method that is called by the
TemplateNodeStyleRenderer to create the control that will be used for the
display of the node. |
protected abstract Node |
AbstractNodeStyle.createVisual(IRenderContext context,
INode node)
Callback that creates the visual.
|
protected RectD |
AbstractNodeStyle.getBounds(ICanvasContext context,
INode node)
Gets the bounds of the visual for the node in the given context.
|
IBoundsProvider |
VoidNodeStyleRenderer.getBoundsProvider(INode node,
INodeStyle style)
Yields the
IBoundsProvider.EMPTY that will return empty bounds. |
IBoundsProvider |
TemplateNodeStyleRenderer.getBoundsProvider(INode node,
INodeStyle style)
Provides a
bounds calculation implementation for the given style and node. |
IBoundsProvider |
TableNodeStyleRenderer.getBoundsProvider(INode node,
INodeStyle style) |
IBoundsProvider |
ShinyPlateNodeStyleRenderer.getBoundsProvider(INode node,
INodeStyle style)
Configures the
style and node parameters, calls ShinyPlateNodeStyleRenderer.configure() and returns this . |
IBoundsProvider |
ShapeNodeStyleRenderer.getBoundsProvider(INode node,
INodeStyle style)
Configures the
style and node parameters, calls ShapeNodeStyleRenderer.configure() and returns this . |
IBoundsProvider |
PanelNodeStyleRenderer.getBoundsProvider(INode node,
INodeStyle style)
Configures the
style and node parameters, calls PanelNodeStyleRenderer.configure() and returns this . |
IBoundsProvider |
MemoryImageNodeStyleRenderer.getBoundsProvider(INode node,
INodeStyle style)
Configures the
style and node parameters, calls MemoryImageNodeStyleRenderer.configure() and returns this . |
IBoundsProvider |
ImageNodeStyleRenderer.getBoundsProvider(INode node,
INodeStyle style)
Configures the
style and node parameters, calls ImageNodeStyleRenderer.configure() and returns this . |
IBoundsProvider |
INodeStyleRenderer.getBoundsProvider(INode node,
INodeStyle style)
Gets an implementation of the
IBoundsProvider interface that can handle the provided node and its associated
style. |
IBoundsProvider |
GeneralPathNodeStyleRenderer.getBoundsProvider(INode node,
INodeStyle style)
Configures the
style and node parameters, calls GeneralPathNodeStyleRenderer.configure() and returns this . |
IBoundsProvider |
CollapsibleNodeStyleDecoratorRenderer.getBoundsProvider(INode node,
INodeStyle style)
Configures the
style and node parameters, calls CollapsibleNodeStyleDecoratorRenderer.configure() and returns this . |
IBoundsProvider |
BevelNodeStyleRenderer.getBoundsProvider(INode node,
INodeStyle style)
Configures the
style and node parameters, calls BevelNodeStyleRenderer.configure() and returns this . |
ILookup |
VoidNodeStyleRenderer.getContext(INode node,
INodeStyle style)
Yields the
ILookup.EMPTY that will not yield anything. |
ILookup |
TemplateNodeStyleRenderer.getContext(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call TemplateNodeStyleRenderer.configure() and returns
this . |
ILookup |
TableNodeStyleRenderer.getContext(INode node,
INodeStyle style) |
ILookup |
ShinyPlateNodeStyleRenderer.getContext(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call ShinyPlateNodeStyleRenderer.configure() and returns
this . |
ILookup |
ShapeNodeStyleRenderer.getContext(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call ShapeNodeStyleRenderer.configure() and returns
this . |
ILookup |
PanelNodeStyleRenderer.getContext(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call PanelNodeStyleRenderer.configure() and returns
this . |
ILookup |
MemoryImageNodeStyleRenderer.getContext(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call MemoryImageNodeStyleRenderer.configure() and returns
this . |
ILookup |
ImageNodeStyleRenderer.getContext(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call ImageNodeStyleRenderer.configure() and returns
this . |
ILookup |
INodeStyleRenderer.getContext(INode node,
INodeStyle style)
Gets a temporary context instance that can be used to query additional information for the node's style.
|
ILookup |
GeneralPathNodeStyleRenderer.getContext(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call GeneralPathNodeStyleRenderer.configure() and returns
this . |
ILookup |
CollapsibleNodeStyleDecoratorRenderer.getContext(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call CollapsibleNodeStyleDecoratorRenderer.configure() and returns
this . |
ILookup |
BevelNodeStyleRenderer.getContext(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call BevelNodeStyleRenderer.configure() and returns
this . |
IHitTestable |
VoidNodeStyleRenderer.getHitTestable(INode node,
INodeStyle style)
Yields the
IHitTestable.NEVER that will always report misses. |
IHitTestable |
TemplateNodeStyleRenderer.getHitTestable(INode node,
INodeStyle style)
Provides a
hit testing implementation for the given style and node. |
IHitTestable |
TableNodeStyleRenderer.getHitTestable(INode node,
INodeStyle style) |
IHitTestable |
ShinyPlateNodeStyleRenderer.getHitTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls ShinyPlateNodeStyleRenderer.configure() and returns this . |
IHitTestable |
ShapeNodeStyleRenderer.getHitTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls ShapeNodeStyleRenderer.configure() and returns this . |
IHitTestable |
PanelNodeStyleRenderer.getHitTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls PanelNodeStyleRenderer.configure() and returns this . |
IHitTestable |
MemoryImageNodeStyleRenderer.getHitTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls MemoryImageNodeStyleRenderer.configure() and returns this . |
IHitTestable |
ImageNodeStyleRenderer.getHitTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls ImageNodeStyleRenderer.configure() and returns this . |
IHitTestable |
INodeStyleRenderer.getHitTestable(INode node,
INodeStyle style)
Gets an implementation of the
IHitTestable interface that can handle the provided node and its associated
style. |
IHitTestable |
GeneralPathNodeStyleRenderer.getHitTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls GeneralPathNodeStyleRenderer.configure() and returns this . |
IHitTestable |
CollapsibleNodeStyleDecoratorRenderer.getHitTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls CollapsibleNodeStyleDecoratorRenderer.configure() and returns this . |
IHitTestable |
BevelNodeStyleRenderer.getHitTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls BevelNodeStyleRenderer.configure() and returns this . |
protected PointD |
DefaultEdgePathCropper.getIntersection(INode node,
IShapeGeometry nodeShapeGeometry,
IEdge edge,
PointD inner,
PointD outer)
Finds the intersection between a node and the edge.
|
protected PointD |
AbstractNodeStyle.getIntersection(INode node,
PointD inner,
PointD outer)
Gets the intersection of a line with the visual representation of the node.
|
IMarqueeTestable |
VoidNodeStyleRenderer.getMarqueeTestable(INode node,
INodeStyle style)
Yields the
IMarqueeTestable.NEVER that will always report misses. |
IMarqueeTestable |
TemplateNodeStyleRenderer.getMarqueeTestable(INode node,
INodeStyle style)
Provides a
marquee testing implementation for the given style and node. |
IMarqueeTestable |
TableNodeStyleRenderer.getMarqueeTestable(INode node,
INodeStyle style) |
IMarqueeTestable |
ShinyPlateNodeStyleRenderer.getMarqueeTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls ShinyPlateNodeStyleRenderer.configure() and returns this . |
IMarqueeTestable |
ShapeNodeStyleRenderer.getMarqueeTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls ShapeNodeStyleRenderer.configure() and returns this . |
IMarqueeTestable |
PanelNodeStyleRenderer.getMarqueeTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls PanelNodeStyleRenderer.configure() and returns this . |
IMarqueeTestable |
MemoryImageNodeStyleRenderer.getMarqueeTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls MemoryImageNodeStyleRenderer.configure() and returns this . |
IMarqueeTestable |
ImageNodeStyleRenderer.getMarqueeTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls ImageNodeStyleRenderer.configure() and returns this . |
IMarqueeTestable |
INodeStyleRenderer.getMarqueeTestable(INode node,
INodeStyle style)
Gets an implementation of the
IMarqueeTestable interface that can handle the provided node and its associated
style. |
IMarqueeTestable |
GeneralPathNodeStyleRenderer.getMarqueeTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls GeneralPathNodeStyleRenderer.configure() and returns this . |
IMarqueeTestable |
CollapsibleNodeStyleDecoratorRenderer.getMarqueeTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls CollapsibleNodeStyleDecoratorRenderer.configure() and returns this . |
IMarqueeTestable |
BevelNodeStyleRenderer.getMarqueeTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls BevelNodeStyleRenderer.configure() and returns this . |
protected IShapeGeometry |
DefaultEdgePathCropper.getNodeGeometry(INode node)
Returns the
geometry that is used to crop the edge at the node outline. |
protected GeneralPath |
AbstractNodeStyle.getOutline(INode node)
Gets the outline of the visual style.
|
SizeD |
TemplateNodeStyleRenderer.getPreferredSize(INode node,
INodeStyle style)
Calculates the preferred size for the given node and style.
|
SizeD |
TemplateNodeStyle.getPreferredSize(IRenderContext context,
INode node)
Convenience method that determines the preferred size of the node if this style was applied.
|
SizeD |
TemplateNodeStyleRenderer.getPreferredSize(IRenderContext context,
INode node,
INodeStyle style)
Calculates the preferred size for the given node and style in the provided context.
|
IShapeGeometry |
VoidNodeStyleRenderer.getShapeGeometry(INode node,
INodeStyle style)
This implementation always returns the
VoidShapeGeometry instance . |
IShapeGeometry |
TemplateNodeStyleRenderer.getShapeGeometry(INode node,
INodeStyle style)
Provides the geometry for the visual representation.
|
IShapeGeometry |
TableNodeStyleRenderer.getShapeGeometry(INode node,
INodeStyle style) |
IShapeGeometry |
ShinyPlateNodeStyleRenderer.getShapeGeometry(INode node,
INodeStyle style)
Configures the
Style and Node properties, calls ShinyPlateNodeStyleRenderer.configure() and returns
this . |
IShapeGeometry |
ShapeNodeStyleRenderer.getShapeGeometry(INode node,
INodeStyle style)
Configures the
Style and Node properties, calls ShapeNodeStyleRenderer.configure() and returns
this . |
IShapeGeometry |
PanelNodeStyleRenderer.getShapeGeometry(INode node,
INodeStyle style)
Configures the
Style and Node properties, calls PanelNodeStyleRenderer.configure() and returns
this . |
IShapeGeometry |
MemoryImageNodeStyleRenderer.getShapeGeometry(INode node,
INodeStyle style)
Configures the
Style and Node properties, calls MemoryImageNodeStyleRenderer.configure() and returns
this . |
IShapeGeometry |
ImageNodeStyleRenderer.getShapeGeometry(INode node,
INodeStyle style)
Configures the
Style and Node properties, calls ImageNodeStyleRenderer.configure() and returns
this . |
IShapeGeometry |
INodeStyleRenderer.getShapeGeometry(INode node,
INodeStyle style)
Gets an implementation of the
IShapeGeometry interface that can handle the provided node and its associated
style. |
IShapeGeometry |
GeneralPathNodeStyleRenderer.getShapeGeometry(INode node,
INodeStyle style)
Configures the
Style and Node properties, calls GeneralPathNodeStyleRenderer.configure() and returns
this . |
IShapeGeometry |
CollapsibleNodeStyleDecoratorRenderer.getShapeGeometry(INode node,
INodeStyle style)
Configures the
Style and Node properties, calls CollapsibleNodeStyleDecoratorRenderer.configure() and returns
this . |
IShapeGeometry |
BevelNodeStyleRenderer.getShapeGeometry(INode node,
INodeStyle style)
Configures the
Style and Node properties, calls BevelNodeStyleRenderer.configure() and returns
this . |
IVisibilityTestable |
VoidNodeStyleRenderer.getVisibilityTestable(INode node,
INodeStyle style)
Yields the
IVisibilityTestable.NEVER that will always claim invisibility. |
IVisibilityTestable |
TemplateNodeStyleRenderer.getVisibilityTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call TemplateNodeStyleRenderer.configure() and returns
this . |
IVisibilityTestable |
TableNodeStyleRenderer.getVisibilityTestable(INode node,
INodeStyle style) |
IVisibilityTestable |
ShinyPlateNodeStyleRenderer.getVisibilityTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call ShinyPlateNodeStyleRenderer.configure() and returns
this . |
IVisibilityTestable |
ShapeNodeStyleRenderer.getVisibilityTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call ShapeNodeStyleRenderer.configure() and returns
this . |
IVisibilityTestable |
PanelNodeStyleRenderer.getVisibilityTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call PanelNodeStyleRenderer.configure() and returns
this . |
IVisibilityTestable |
MemoryImageNodeStyleRenderer.getVisibilityTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call MemoryImageNodeStyleRenderer.configure() and returns
this . |
IVisibilityTestable |
ImageNodeStyleRenderer.getVisibilityTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call ImageNodeStyleRenderer.configure() and returns
this . |
IVisibilityTestable |
INodeStyleRenderer.getVisibilityTestable(INode node,
INodeStyle style)
Gets an implementation of the
IVisibilityTestable interface that can handle the provided node and its associated
style. |
IVisibilityTestable |
GeneralPathNodeStyleRenderer.getVisibilityTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call GeneralPathNodeStyleRenderer.configure() and returns
this . |
IVisibilityTestable |
CollapsibleNodeStyleDecoratorRenderer.getVisibilityTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call CollapsibleNodeStyleDecoratorRenderer.configure() and returns
this . |
IVisibilityTestable |
BevelNodeStyleRenderer.getVisibilityTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call BevelNodeStyleRenderer.configure() and returns
this . |
IVisualCreator |
VoidNodeStyleRenderer.getVisualCreator(INode node,
INodeStyle style)
Yields the
VoidVisualCreator.INSTANCE that will do nothing. |
IVisualCreator |
TemplateNodeStyleRenderer.getVisualCreator(INode node,
INodeStyle style)
Configures the
style and node parameters, calls TemplateNodeStyleRenderer.configure() and returns this . |
IVisualCreator |
TableNodeStyleRenderer.getVisualCreator(INode node,
INodeStyle style) |
IVisualCreator |
ShinyPlateNodeStyleRenderer.getVisualCreator(INode node,
INodeStyle style)
Configures the
style and node parameters, calls ShinyPlateNodeStyleRenderer.configure() and returns this . |
IVisualCreator |
ShapeNodeStyleRenderer.getVisualCreator(INode node,
INodeStyle style)
Configures the
style and node parameters, calls ShapeNodeStyleRenderer.configure() and returns this . |
IVisualCreator |
PanelNodeStyleRenderer.getVisualCreator(INode node,
INodeStyle style)
Configures the
style and node parameters, calls PanelNodeStyleRenderer.configure() and returns this . |
IVisualCreator |
MemoryImageNodeStyleRenderer.getVisualCreator(INode node,
INodeStyle style)
Configures the
style and node parameters, calls MemoryImageNodeStyleRenderer.configure() and returns this . |
IVisualCreator |
ImageNodeStyleRenderer.getVisualCreator(INode node,
INodeStyle style)
Configures the
style and node parameters, calls ImageNodeStyleRenderer.configure() and returns this . |
IVisualCreator |
INodeStyleRenderer.getVisualCreator(INode node,
INodeStyle style)
Gets an implementation of the
IVisualCreator interface that can handle the provided node and its associated
style. |
IVisualCreator |
GeneralPathNodeStyleRenderer.getVisualCreator(INode node,
INodeStyle style)
Configures the
style and node parameters, calls GeneralPathNodeStyleRenderer.configure() and returns this . |
IVisualCreator |
CollapsibleNodeStyleDecoratorRenderer.getVisualCreator(INode node,
INodeStyle style)
Configures the
style and node parameters, calls CollapsibleNodeStyleDecoratorRenderer.configure() and returns this . |
IVisualCreator |
BevelNodeStyleRenderer.getVisualCreator(INode node,
INodeStyle style)
Configures the
style and node parameters, calls BevelNodeStyleRenderer.configure() and returns this . |
protected void |
NodeTemplate.initializeFrom(IRenderContext ctx,
INode node,
TemplateNodeStyle style)
Initializes all properties with the given
INode and style information. |
void |
NodeTemplate.initializeFromInternal(IRenderContext ctx,
INode item,
INodeStyle style)
Initializes this node template with the given
INode and style information. |
protected boolean |
CollapsibleNodeStyleDecoratorRenderer.isExpanded(IRenderContext context,
INode node)
Returns the folding state of the group node.
|
protected boolean |
AbstractNodeStyle.isHit(IInputModeContext context,
PointD location,
INode node)
Determines whether the visual representation of the node has been hit at the given location.
|
protected boolean |
AbstractNodeStyle.isInBox(IInputModeContext context,
RectD rectangle,
INode node)
Determines whether the visualization for the specified node is included in the marquee selection.
|
protected boolean |
AbstractNodeStyle.isInside(INode node,
PointD location)
Determines whether the provided point is geometrically inside the visual bounds of the node.
|
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 |
AbstractNodeStyle.isVisible(ICanvasContext context,
RectD rectangle,
INode node)
Determines whether the visualization for the specified node is visible in the context.
|
protected Object |
AbstractNodeStyle.lookup(INode node,
Class type)
Performs the
ILookup.lookup(Class) operation for the INodeStyleRenderer.getContext(INode, INodeStyle)
that has been queried from the Renderer . |
protected void |
TemplateNodeStyleRenderer.setNode(INode value)
Sets the currently configured node.
|
protected void |
TableNodeStyleRenderer.setNode(INode value)
Sets the currently configured node.
|
protected void |
ShinyPlateNodeStyleRenderer.setNode(INode value)
Sets the currently configured node.
|
protected void |
ShapeNodeStyleRenderer.setNode(INode value)
Sets the currently configured node.
|
protected void |
PanelNodeStyleRenderer.setNode(INode value)
Sets the currently configured node.
|
protected void |
MemoryImageNodeStyleRenderer.setNode(INode value)
Sets the currently configured node.
|
protected void |
ImageNodeStyleRenderer.setNode(INode value)
Sets the currently configured node.
|
protected void |
GeneralPathNodeStyleRenderer.setNode(INode value)
Sets the currently configured node.
|
protected void |
CollapsibleNodeStyleDecoratorRenderer.setNode(INode value)
Sets the currently configured node.
|
protected void |
BevelNodeStyleRenderer.setNode(INode value)
Sets the currently configured node.
|
protected void |
NodeTemplate.updateContent(TemplateNodeStyle style,
INode node)
Updates the content object the user has specified.
|
protected void |
NodeTemplate.updateFor(IRenderContext ctx,
INode node,
TemplateNodeStyle style)
Updates all properties with the given
INode and style information. |
void |
NodeTemplate.updateForInternal(IRenderContext ctx,
INode item,
INodeStyle style)
Updates this node template with the given
INode and style information. |
protected Node |
AbstractNodeStyle.updateVisual(IRenderContext context,
Node oldVisual,
INode node)
Callback that updates the visual previously created by
AbstractNodeStyle.createVisual(IRenderContext, INode) . |
Modifier and Type | Method and Description |
---|---|
INode |
IGraphElementFactory.createNode(IParseContext context)
Creates a node for the given context.
|
INode |
IGraphElementResolver.resolveNode(IParseContext context,
String id)
Resolve the GraphML
id to an INode instance. |
INode |
GraphElementIdAcceptor.resolveNode(IParseContext context,
String id) |
Modifier and Type | Method and Description |
---|---|
Map<INode,String> |
GraphElementIdAcceptor.getNodeIds()
Return a mapping between all GraphML ids for
<node> elements and the corresponding INode instances. |
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.
|
String |
IGraphElementIdProvider.getNodeId(IWriteContext context,
INode node)
Get an ID for the specified
node object. |
void |
IGraphElementIdAcceptor.storeId(IParseContext context,
INode node,
String id)
Store the value of the id attribute for the given node.
|
void |
GraphElementIdAcceptor.storeId(IParseContext context,
INode node,
String id) |
Modifier and Type | Field and Description |
---|---|
static NodeDpKey<INode> |
LayoutGraphAdapter.ORIGINAL_NODE_DPKEY
|
Modifier and Type | Method and Description |
---|---|
INode |
YGraphAdapter.getOriginalNode(Node node)
Yields the original node from the
original IGraph that the given node has been created for. |
Modifier and Type | Method and Description |
---|---|
<T> IMapper<INode,T> |
YGraphAdapter.createMapper(INodeMap nodeMap)
|
IListEnumerable<INode> |
YGraphAdapter.createNodeEnumerable(NodeList nodes)
|
ItemCollection<INode> |
ComponentLayoutData.getAffectedComponents()
Gets a collection of nodes that determine the components that shall be laid out.
|
ContextItemMapping<INode,PartitionCellId,PartitionGrid> |
PartitionGridData.getCellIds()
Gets the mapping from nodes to
PartitionCellId using the partition grid as context. |
ItemMapping<INode,Integer> |
PartitionGridData.getColumnIndices()
Gets the mapping from nodes to the index of their columns.
|
ItemMapping<INode,Comparable> |
ComponentLayoutData.getComponentIds()
Gets the mapping from nodes to their component comparable that is used to sort the components.
|
ItemCollection<INode> |
FixGroupLayoutData.getFixedGroupNodes()
Gets the collection of group nodes whose contents should keep their relative positions.
|
SingleItemCollection<INode> |
FixNodeLayoutData.getFixedNode()
Gets the collection of nodes which should be considered fixed.
|
ItemMapping<INode,ILayoutAlgorithm> |
RecursiveGroupLayoutData.getGroupNodeLayouts()
Gets the mapping from group nodes to the
ILayoutAlgorithm used for their child nodes. |
ItemMapping<INode,NodeHalo> |
RecursiveGroupLayoutData.getNodeHalos()
Gets the mapping from nodes to their
NodeHalo . |
ItemMapping<INode,NodeHalo> |
ComponentLayoutData.getNodeHalos()
Gets the mapping from nodes to their
NodeHalo . |
ItemMapping<INode,PortCandidateSet> |
RecursiveGroupLayoutData.getNodePortCandidateSets()
Gets a mapping from nodes to their
PortCandidateSet . |
ItemMapping<INode,Integer> |
PartitionGridData.getRowIndices()
Gets the mapping from nodes to the index of their rows.
|
Modifier and Type | Method and Description |
---|---|
protected INodeLayout |
LayoutGraphAdapter.createNodeLayout(INode node)
Factory method that creates a
INodeLayout implementation that wraps the given INode . |
Node |
YGraphAdapter.getCopiedNode(INode node)
Yields the node that has been created as a copy in
YGraph to represent the given node. |
Modifier and Type | Method and Description |
---|---|
NodeList |
YGraphAdapter.createNodeList(Iterable<INode> nodes)
|
<V> INodeMap |
YGraphAdapter.createNodeMap(Function<INode,V> getter)
|
<V> INodeMap |
YGraphAdapter.createNodeMap(IMapper<INode,V> mapper)
|
void |
ComponentLayoutData.setAffectedComponents(ItemCollection<INode> value)
Sets a collection of nodes that determine the components that shall be laid out.
|
void |
PartitionGridData.setCellIds(ContextItemMapping<INode,PartitionCellId,PartitionGrid> value)
Sets the mapping from nodes to
PartitionCellId using the partition grid as context. |
void |
PartitionGridData.setColumnIndices(ItemMapping<INode,Integer> value)
Sets the mapping from nodes to the index of their columns.
|
void |
ComponentLayoutData.setComponentIds(ItemMapping<INode,Comparable> value)
Sets the mapping from nodes to their component comparable that is used to sort the components.
|
void |
FixGroupLayoutData.setFixedGroupNodes(ItemCollection<INode> value)
Sets the collection of group nodes whose contents should keep their relative positions.
|
void |
FixNodeLayoutData.setFixedNode(SingleItemCollection<INode> value)
Sets the collection of nodes which should be considered fixed.
|
void |
RecursiveGroupLayoutData.setGroupNodeLayouts(ItemMapping<INode,ILayoutAlgorithm> value)
Sets the mapping from group nodes to the
ILayoutAlgorithm used for their child nodes. |
void |
RecursiveGroupLayoutData.setNodeHalos(ItemMapping<INode,NodeHalo> value)
Sets the mapping from nodes to their
NodeHalo . |
void |
ComponentLayoutData.setNodeHalos(ItemMapping<INode,NodeHalo> value)
Sets the mapping from nodes to their
NodeHalo . |
void |
RecursiveGroupLayoutData.setNodePortCandidateSets(ItemMapping<INode,PortCandidateSet> value)
Sets a mapping from nodes to their
PortCandidateSet . |
void |
PartitionGridData.setRowIndices(ItemMapping<INode,Integer> value)
Sets the mapping from nodes to the index of their rows.
|
Modifier and Type | Method and Description |
---|---|
IMapper<INode,Integer> |
CircularLayoutData.getCircleIds()
Gets the mapper from nodes to their circle id.
|
ItemMapping<INode,Object> |
CircularLayoutData.getCustomGroups()
Gets the mapping from nodes to their custom group object.
|
ItemMapping<INode,NodeHalo> |
CircularLayoutData.getNodeHalos()
Gets the mapping from nodes to their
NodeHalo . |
Modifier and Type | Method and Description |
---|---|
void |
CircularLayoutData.setCircleIds(IMapper<INode,Integer> value)
Sets the mapper from nodes to their circle id.
|
void |
CircularLayoutData.setCustomGroups(ItemMapping<INode,Object> value)
Sets the mapping from nodes to their custom group object.
|
void |
CircularLayoutData.setNodeHalos(ItemMapping<INode,NodeHalo> value)
Sets the mapping from nodes to their
NodeHalo . |
Modifier and Type | Method and Description |
---|---|
ItemMapping<INode,FamilyType> |
FamilyTreeLayoutData.getFamilyTypes()
Gets the mapping from nodes to their family type.
|
Modifier and Type | Method and Description |
---|---|
void |
FamilyTreeLayoutData.setFamilyTypes(ItemMapping<INode,FamilyType> value)
Sets the mapping from nodes to their family type.
|
Modifier and Type | Method and Description |
---|---|
ItemMapping<INode,YRectangle> |
HierarchicLayoutData.getAlternativeGroupBounds()
Gets a mapping from group/folder nodes to alternative bounds for these nodes.
|
ItemCollection<INode> |
HierarchicLayoutData.getBfsLayererCoreNodes()
Gets the collection of core nodes used by the
BFSLayerer . |
ItemCollection<INode> |
HierarchicLayoutData.getFolderNodes()
Gets the collection of folder nodes used for recursive edge styles in incremental mode.
|
ItemMapping<INode,Integer> |
HierarchicLayoutData.getGivenLayersLayererIds()
Gets the mapping from nodes to their layer index when using the
GivenLayersLayerer . |
ItemCollection<INode> |
IncrementalHintItemMapping.getIncrementalLayeringNodes()
Gets an item collection of nodes that are mapped to
incremental layering hints . |
IMapper<INode,Integer> |
HierarchicLayoutData.getLayerIndices()
Gets a mapper from nodes to the index of their layer.
|
ItemMapping<INode,Double> |
SelfLoopCalculatorData.getMinimumNodeDistances()
Gets the mapping from nodes to their minimum distance to selfloop edges.
|
ItemMapping<INode,NodeHalo> |
HierarchicLayoutData.getNodeHalos()
Gets the mapping from nodes to their
NodeHalo . |
ItemMapping<INode,NodeLayoutDescriptor> |
HierarchicLayoutData.getNodeLayoutDescriptors()
Gets the mapping of nodes to their
NodeLayoutDescriptor . |
ItemMapping<INode,PortCandidateSet> |
HierarchicLayoutData.getNodePortCandidateSets()
Gets a mapping from nodes to their
PortCandidateSet . |
IMapper<INode,Integer> |
HierarchicLayoutData.getSequenceIndices()
Gets a mapper from nodes to the sequence index in their layer.
|
Modifier and Type | Method and Description |
---|---|
void |
HierarchicLayoutData.setAlternativeGroupBounds(ItemMapping<INode,YRectangle> value)
Sets a mapping from group/folder nodes to alternative bounds for these nodes.
|
void |
HierarchicLayoutData.setBfsLayererCoreNodes(ItemCollection<INode> value)
Sets the collection of core nodes used by the
BFSLayerer . |
void |
HierarchicLayoutData.setFolderNodes(ItemCollection<INode> value)
Sets the collection of folder nodes used for recursive edge styles in incremental mode.
|
void |
HierarchicLayoutData.setGivenLayersLayererIds(ItemMapping<INode,Integer> value)
Sets the mapping from nodes to their layer index when using the
GivenLayersLayerer . |
void |
IncrementalHintItemMapping.setIncrementalLayeringNodes(ItemCollection<INode> value)
Sets an item collection of nodes that are mapped to
incremental layering hints . |
void |
HierarchicLayoutData.setLayerIndices(IMapper<INode,Integer> value)
Sets a mapper from nodes to the index of their layer.
|
void |
SelfLoopCalculatorData.setMinimumNodeDistances(ItemMapping<INode,Double> value)
Sets the mapping from nodes to their minimum distance to selfloop edges.
|
void |
HierarchicLayoutData.setNodeHalos(ItemMapping<INode,NodeHalo> value)
Sets the mapping from nodes to their
NodeHalo . |
void |
HierarchicLayoutData.setNodeLayoutDescriptors(ItemMapping<INode,NodeLayoutDescriptor> value)
Sets the mapping of nodes to their
NodeLayoutDescriptor . |
void |
HierarchicLayoutData.setNodePortCandidateSets(ItemMapping<INode,PortCandidateSet> value)
Sets a mapping from nodes to their
PortCandidateSet . |
void |
HierarchicLayoutData.setSequenceIndices(IMapper<INode,Integer> value)
Sets a mapper from nodes to the sequence index in their layer.
|
Modifier and Type | Method and Description |
---|---|
ItemMapping<INode,NodeHalo> |
LabelingData.getNodeHalos()
Gets the mapping from nodes to their
NodeHalo . |
Modifier and Type | Method and Description |
---|---|
void |
LabelingData.setNodeHalos(ItemMapping<INode,NodeHalo> value)
Sets the mapping from nodes to their
NodeHalo . |
Modifier and Type | Method and Description |
---|---|
ItemMapping<INode,Object> |
MultiPageLayoutData.getNodeClusterIds()
Gets the mapping from nodes to their cluster id.
|
ItemMapping<INode,Object> |
MultiPageLayoutData.getNodeIds()
Gets the mapping from nodes to their unique IDs.
|
Modifier and Type | Method and Description |
---|---|
void |
MultiPageLayoutData.setNodeClusterIds(ItemMapping<INode,Object> value)
Sets the mapping from nodes to their cluster id.
|
void |
MultiPageLayoutData.setNodeIds(ItemMapping<INode,Object> value)
Sets the mapping from nodes to their unique IDs.
|
Modifier and Type | Method and Description |
---|---|
ItemCollection<INode> |
OrganicLayoutData.getAffectedNodes()
Gets the collection of nodes that is laid out by the layout.
|
ItemMapping<INode,GroupNodeMode> |
OrganicLayoutData.getGroupNodeModes()
Gets the mapping from group nodes to a mode constant describing how to handle the group node.
|
ItemMapping<INode,Double> |
OrganicLayoutData.getMinimumNodeDistances()
Gets the mapping from nodes to their minimum distance to other nodes.
|
ItemMapping<INode,NodeHalo> |
OrganicLayoutData.getNodeHalos()
Gets the mapping from nodes to their
NodeHalo . |
Modifier and Type | Method and Description |
---|---|
void |
OrganicLayoutData.setAffectedNodes(ItemCollection<INode> value)
Sets the collection of nodes that is laid out by the layout.
|
void |
OrganicLayoutData.setGroupNodeModes(ItemMapping<INode,GroupNodeMode> value)
Sets the mapping from group nodes to a mode constant describing how to handle the group node.
|
void |
OrganicLayoutData.setMinimumNodeDistances(ItemMapping<INode,Double> value)
Sets the mapping from nodes to their minimum distance to other nodes.
|
void |
OrganicLayoutData.setNodeHalos(ItemMapping<INode,NodeHalo> value)
Sets the mapping from nodes to their
NodeHalo . |
Modifier and Type | Method and Description |
---|---|
ItemMapping<INode,NodeHalo> |
OrthogonalLayoutData.getNodeHalos()
Gets the mapping from nodes to their
NodeHalo . |
Modifier and Type | Method and Description |
---|---|
void |
OrthogonalLayoutData.setNodeHalos(ItemMapping<INode,NodeHalo> value)
Sets the mapping from nodes to their
NodeHalo . |
Modifier and Type | Method and Description |
---|---|
ItemCollection<INode> |
PartialLayoutData.getAffectedNodes()
Gets the collection of nodes placed by the layout.
|
ItemMapping<INode,Object> |
PartialLayoutData.getComponentIds()
Gets the mapping from partial nodes to an object defining their component assignment.
|
ItemMapping<INode,NodeHalo> |
PartialLayoutData.getNodeHalos()
Gets the mapping from nodes to their
NodeHalo . |
Modifier and Type | Method and Description |
---|---|
void |
PartialLayoutData.setAffectedNodes(ItemCollection<INode> value)
Sets the collection of nodes placed by the layout.
|
void |
PartialLayoutData.setComponentIds(ItemMapping<INode,Object> value)
Sets the mapping from partial nodes to an object defining their component assignment.
|
void |
PartialLayoutData.setNodeHalos(ItemMapping<INode,NodeHalo> value)
Sets the mapping from nodes to their
NodeHalo . |
Modifier and Type | Method and Description |
---|---|
DpKeyItemCollection<INode> |
RadialLayoutData.getCenterNodes()
Gets the collection of nodes that shall be placed in the center with
center node policy
set to CenterNodesPolicy.CUSTOM . |
ItemMapping<INode,NodeHalo> |
RadialLayoutData.getNodeHalos()
Gets the mapping from nodes to their
NodeHalo . |
IMapper<INode,RadialLayout.NodeInfo> |
RadialLayoutData.getNodeInfos()
Gets the mapping from nodes to a
RadialLayout.NodeInfo describing on which circle and in which sector the node
is placed. |
Modifier and Type | Method and Description |
---|---|
void |
RadialLayoutData.setCenterNodes(DpKeyItemCollection<INode> value)
Sets the collection of nodes that shall be placed in the center with
center node policy
set to CenterNodesPolicy.CUSTOM . |
void |
RadialLayoutData.setNodeHalos(ItemMapping<INode,NodeHalo> value)
Sets the mapping from nodes to their
NodeHalo . |
void |
RadialLayoutData.setNodeInfos(IMapper<INode,RadialLayout.NodeInfo> value)
Sets the mapping from nodes to a
RadialLayout.NodeInfo describing on which circle and in which sector the node
is placed. |
Modifier and Type | Method and Description |
---|---|
DpKeyItemCollection<INode> |
StraightLineEdgeRouterData.getAffectedNodes()
Gets the collection of affected nodes.
|
ItemMapping<INode,PortCandidateSet> |
OrthogonalPatternEdgeRouterData.getNodePortCandidateSets()
Gets a mapping from nodes to their
PortCandidateSet . |
ItemMapping<INode,PortCandidateSet> |
BusRouterData.getNodePortCandidateSets()
Gets a mapping from nodes to their
PortCandidateSet . |
Modifier and Type | Method and Description |
---|---|
void |
StraightLineEdgeRouterData.setAffectedNodes(DpKeyItemCollection<INode> value)
Sets the collection of affected nodes.
|
void |
OrthogonalPatternEdgeRouterData.setNodePortCandidateSets(ItemMapping<INode,PortCandidateSet> value)
Sets a mapping from nodes to their
PortCandidateSet . |
void |
BusRouterData.setNodePortCandidateSets(ItemMapping<INode,PortCandidateSet> value)
Sets a mapping from nodes to their
PortCandidateSet . |
Modifier and Type | Method and Description |
---|---|
DpKeyItemCollection<INode> |
PolylineEdgeRouterData.getAffectedNodes()
Gets the collection of affected nodes.
|
ItemMapping<INode,NodeHalo> |
PolylineEdgeRouterData.getNodeHalos()
Gets the mapping from nodes to their
NodeHalo . |
ItemMapping<INode,PortCandidateSet> |
PolylineEdgeRouterData.getNodePortCandidateSets()
Gets a mapping from nodes to their
PortCandidateSet . |
Modifier and Type | Method and Description |
---|---|
void |
PolylineEdgeRouterData.setAffectedNodes(DpKeyItemCollection<INode> value)
Sets the collection of affected nodes.
|
void |
PolylineEdgeRouterData.setNodeHalos(ItemMapping<INode,NodeHalo> value)
Sets the mapping from nodes to their
NodeHalo . |
void |
PolylineEdgeRouterData.setNodePortCandidateSets(ItemMapping<INode,PortCandidateSet> value)
Sets a mapping from nodes to their
PortCandidateSet . |
Modifier and Type | Method and Description |
---|---|
ItemMapping<INode,Comparator<IEdge>> |
SeriesParallelLayoutData.getOutEdgeComparators()
Gets the mapping from nodes to comparison functions used to sort the nodes' outgoing edges.
|
ItemMapping<INode,IPortAssignment> |
SeriesParallelLayoutData.getPortAssignments()
Gets the mapping from nodes to their
IPortAssignment . |
Modifier and Type | Method and Description |
---|---|
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.setPortAssignments(ItemMapping<INode,IPortAssignment> value)
Sets the mapping from nodes to their
IPortAssignment . |
Modifier and Type | Method and Description |
---|---|
ItemCollection<INode> |
TreeLayoutData.getAssistantNodes()
Gets the collection of nodes the
AssistantNodePlacer considers as assistants. |
ItemCollection<INode> |
TreeLayoutData.getDelegatingNodePlacersPrimaryNodes()
Gets the collection of nodes the
DelegatingNodePlacer places with its
PrimaryPlacer . |
ItemMapping<INode,Integer> |
TreeLayoutData.getGridNodePlacerRowIndices()
Gets the mapping from nodes to the index of the row the
GridNodePlacer shall place the node in. |
ItemCollection<INode> |
BalloonLayoutData.getInterleavedNodes()
Gets the collection of nodes that should be arranged in an interleaved fashion.
|
ItemMapping<INode,Boolean> |
TreeLayoutData.getLeftRightPlacersLeftNodes()
Gets a mapping from nodes to a boolean value that specifies whether a node should be placed left of the bus
(
true ) or right of the bus (false ). |
ItemMapping<INode,NodeHalo> |
TreeLayoutData.getNodeHalos()
Gets the mapping from nodes to their
NodeHalo . |
ItemMapping<INode,NodeHalo> |
BalloonLayoutData.getNodeHalos()
Gets the mapping from nodes to their
NodeHalo . |
ItemMapping<INode,INodePlacer> |
TreeLayoutData.getNodePlacers()
Gets the mapping from nodes to their
INodePlacer . |
ItemMapping<INode,Comparator<IEdge>> |
TreeLayoutData.getOutEdgeComparators()
Gets the mapping from nodes to comparison functions used to sort the nodes' outgoing edges.
|
ItemMapping<INode,IPortAssignment> |
TreeLayoutData.getPortAssignments()
Gets the mapping from nodes to their
IPortAssignment . |
ItemMapping<INode,RootPlacement> |
AspectRatioTreeLayoutData.getRootPlacements()
Gets the mapping from nodes with sub trees to their placements.
|
ItemMapping<INode,Double> |
AspectRatioTreeLayoutData.getSubtreeAspectRatios()
Gets the mapping from nodes to the aspect ratio of their sub tree.
|
ItemMapping<INode,SubtreeArrangement> |
AspectRatioTreeLayoutData.getSubtreeRoutingPolicies()
Gets the mapping from nodes to the routing policies of their sub trees.
|
ItemMapping<INode,Boolean> |
TreeLayoutData.getTreeRoot()
Gets the mapping for marking the node that will be used as root node of the tree.
|
ItemMapping<INode,Boolean> |
BalloonLayoutData.getTreeRoot()
Gets the mapping for marking the node that will be used as root node of the tree.
|
Modifier and Type | Method and Description |
---|---|
void |
TreeLayoutData.setAssistantNodes(ItemCollection<INode> value)
Sets the collection of nodes the
AssistantNodePlacer considers as assistants. |
void |
TreeLayoutData.setDelegatingNodePlacersPrimaryNodes(ItemCollection<INode> value)
Sets the collection of nodes the
DelegatingNodePlacer places with its
PrimaryPlacer . |
void |
TreeLayoutData.setGridNodePlacerRowIndices(ItemMapping<INode,Integer> value)
Sets the mapping from nodes to the index of the row the
GridNodePlacer shall place the node in. |
void |
BalloonLayoutData.setInterleavedNodes(ItemCollection<INode> value)
Sets the collection of nodes that should be arranged in an interleaved fashion.
|
void |
TreeLayoutData.setLeftRightPlacersLeftNodes(ItemMapping<INode,Boolean> value)
Sets a mapping from nodes to a boolean value that specifies whether a node should be placed left of the bus
(
true ) or right of the bus (false ). |
void |
TreeLayoutData.setNodeHalos(ItemMapping<INode,NodeHalo> value)
Sets the mapping from nodes to their
NodeHalo . |
void |
BalloonLayoutData.setNodeHalos(ItemMapping<INode,NodeHalo> value)
Sets the mapping from nodes to their
NodeHalo . |
void |
TreeLayoutData.setNodePlacers(ItemMapping<INode,INodePlacer> value)
Sets the mapping from nodes to their
INodePlacer . |
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.setPortAssignments(ItemMapping<INode,IPortAssignment> value)
Sets the mapping from nodes to their
IPortAssignment . |
void |
AspectRatioTreeLayoutData.setRootPlacements(ItemMapping<INode,RootPlacement> value)
Sets the mapping from nodes with sub trees to their placements.
|
void |
AspectRatioTreeLayoutData.setSubtreeAspectRatios(ItemMapping<INode,Double> value)
Sets the mapping from nodes to the aspect ratio of their sub tree.
|
void |
AspectRatioTreeLayoutData.setSubtreeRoutingPolicies(ItemMapping<INode,SubtreeArrangement> value)
Sets the mapping from nodes to the routing policies of their sub trees.
|
void |
TreeLayoutData.setTreeRoot(ItemMapping<INode,Boolean> value)
Sets the mapping for marking the node that will be used as root node of the tree.
|
void |
BalloonLayoutData.setTreeRoot(ItemMapping<INode,Boolean> value)
Sets the mapping for marking the node that will be used as root node of the tree.
|
Modifier and Type | Method and Description |
---|---|
protected DefaultSelectionModel<INode> |
GraphSelection.createNodeSelectionModel()
Factory method that creates the
DefaultSelectionModel to use for the nodes. |
ISelectionModel<INode> |
IGraphSelection.getSelectedNodes()
An
ISelectionModel of the selected nodes. |
ISelectionModel<INode> |
GraphSelection.getSelectedNodes() |
Modifier and Type | Method and Description |
---|---|
static IAnimation |
IAnimation.createNodeAnimation(IGraph graph,
INode node,
IRectangle targetLayout,
Duration preferredDuration)
Creates a new
IAnimation that animates the given node from its current layout to the new given
targetLayout . |
protected ICanvasObjectGroup |
GraphModelManager.getCanvasObjectGroup(INode node)
Retrieves the Canvas Object group to use for the given node.
|
protected INodeStyle |
OverviewGraphVisualCreator.getGroupNodeStyle(INode node)
Callback that returns and/or configures a group node style for the given node to render.
|
protected IVisualCreator |
OverviewGraphVisualCreator.getGroupNodeVisualCreator(IRenderContext context,
INode node)
Obtains the
IVisualCreator for the given group node. |
protected INodeStyle |
OverviewGraphVisualCreator.getNodeStyle(INode node)
Callback that returns and/or configures a node style for the given node to render.
|
protected IVisualCreator |
OverviewGraphVisualCreator.getNodeVisualCreator(IRenderContext context,
INode node)
Obtains the
IVisualCreator for the given node. |
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 | Method and Description |
---|---|
protected INode |
NodeDropInputMode.createNode(IInputModeContext context,
IGraph graph,
INode node,
IModelItem dropTarget,
RectD layout)
Creates the node in the graph after it's been dropped.
|
INode |
INodeCreationCallback.createNode(IInputModeContext context,
IGraph graph,
PointD location,
INode parent)
A callback that is used by
GraphEditorInputMode for the creation of nodes. |
INode |
GraphEditorInputMode.createNode(PointD location)
Creates a node given a certain click point.
|
INode |
NodePairBasedSnapLine.getFirstNode()
Gets the first node that is associated with this snap line.
|
INode |
NodeBasedSnapLine.getNode()
Gets the node that is associated with this snap line.
|
INode |
NodePairBasedSnapLine.getSecondNode()
Gets the second node that is associated with this snap line.
|
INode |
TableReshapeHandler.getTableNode()
The node this handler is used for.
|
INode |
StripeSubregion.getTargetTableNode()
Gets the node the region is associated to.
|
INode |
GraphEditorInputMode.groupSelection()
Creates a new group for all of the currently selected elements.
|
Modifier and Type | Method and Description |
---|---|
protected Collection<INode> |
GraphSnapContext.getFixedNodes()
Gets the nodes that stay fixed for the current edit.
|
Predicate<INode> |
NodeDropInputMode.getIsGroupNodePredicate()
Gets the callback for testing whether a
dragged node should be created as a
group node . |
Predicate<INode> |
NodeDropInputMode.getIsValidParentPredicate()
Gets the callback for testing whether an existing node in the graph can be used as a valid parent node in the context of
grouping.
|
IGridConstraintProvider<INode> |
GraphSnapContext.getNodeGridConstraintProvider()
Gets the grid constraint provider for the
INode s. |
Modifier and Type | Method and Description |
---|---|
protected void |
NodeSnapLineProvider.addCenterSnapLines(GraphSnapContext context,
CollectGraphSnapLinesEventArgs args,
INode node,
RectD layout)
Callback method that is called by
NodeSnapLineProvider.addSnapLines(GraphSnapContext, CollectGraphSnapLinesEventArgs, IModelItem)
the collect snap lines for the centers of the node. |
protected void |
NodeSnapLineProvider.addFixedNodeBorderSnapLines(GraphSnapContext context,
CollectGraphSnapLinesEventArgs args,
INode node,
RectD layout)
Callback method that adds the fixed snap lines around the border of the nodes'
layout . |
protected void |
NodeReshapeSnapResultProvider.addGridLineSnapResult(GraphSnapContext context,
CollectSnapResultsEventArgs args,
INode node,
SnapLineSnapTypes snapLineType,
IPoint snapLineLocation,
double delta,
PointD snappedLocation,
double from,
double to,
PointD snapLinePoint)
Adds a snap result for a location that snaps to a grid line.
|
protected void |
NodeReshapeSnapResultProvider.addGridSnapResult(GraphSnapContext context,
CollectSnapResultsEventArgs args,
INode node,
IGridConstraintProvider<INode> provider,
PointD gridSnappedPoint,
PointD snappedLocation)
Adds a snap result for a location that snaps to the grid.
|
protected void |
NodeSnapResultProvider.addGridSnapResult(GraphSnapContext context,
CollectSnapResultsEventArgs args,
PointD location,
INode node)
Calculates a
SnapResult and adds it to the
argument. |
protected void |
NodeSnapResultProvider.addGridSnapResultCore(GraphSnapContext context,
CollectSnapResultsEventArgs args,
PointD location,
INode node,
GridSnapTypes gridSnapType,
SnapPolicy xSnapPolicy,
SnapPolicy ySnapPolicy)
Calculates a
SnapResult and adds it to the
argument. |
protected void |
NodeSnapLineProvider.addNodeToNodeSnapLines(GraphSnapContext context,
CollectGraphSnapLinesEventArgs args,
INode node,
RectD layout)
Callback method that adds the fixed snap lines around the node for other nodes to snap to using the
NodeToNodeDistance . |
protected void |
NodeSnapLineProvider.addNodeToSegmentSnapLines(GraphSnapContext context,
CollectGraphSnapLinesEventArgs args,
INode node,
RectD layout)
Callback method that adds the fixed snap lines around the node for edge segments to snap to.
|
protected void |
NodeSnapLineProvider.addPortSnapLines(GraphSnapContext context,
CollectGraphSnapLinesEventArgs args,
INode node,
RectD layout)
Callback method that is called by
NodeSnapLineProvider.addSnapLines(GraphSnapContext, CollectGraphSnapLinesEventArgs, IModelItem)
the collect snap lines to snap ports to at the provided node. |
protected void |
NodeReshapeSnapResultProvider.addSameSizeSnapResult(GraphSnapContext context,
CollectSnapResultsEventArgs args,
INode node,
SnapLineOrientation orientation,
Iterable<RectD> rectangles,
double finalSize,
double snapDelta)
Adds a snap result for "same size" to the collect event argument.
|
protected void |
NodeReshapeSnapResultProvider.addSnaplineSnapResult(GraphSnapContext context,
CollectSnapResultsEventArgs args,
INode node,
OrthogonalSnapLine snapLine,
double delta,
PointD snapPoint)
Adds a snap result for a location that snaps the node's bounds to a snap line.
|
protected void |
NavigationInputMode.adjustGroupNodeLocation(boolean collapse,
INode groupNode)
Adjust the group node location according to the value of
AutoGroupNodeAlignmentPolicy . |
void |
GraphEditorInputMode.adjustToSizeConstraints(INode node)
Adjusts the node's
Layout to adhere to possible
size constraints . |
void |
NavigationInputMode.collapseGroup(INode groupNode)
Collapses the given group node to hide the contents of the group node from this
IFoldingView . |
protected void |
NodeReshapeSnapResultProvider.collectGridSnapResults(GraphSnapContext context,
CollectSnapResultsEventArgs args,
INode node,
ReshapeRectangleContext reshapeContext,
RectD suggestedLayout)
Collects the snap results for the grid.
|
protected void |
NodeSnapResultProvider.collectGridSnapResults(GraphSnapContext context,
CollectSnapResultsEventArgs args,
RectD suggestedLayout,
INode node)
Collects snap results that snap the node to a grid and
adds them
to the argument. |
protected void |
NodeReshapeSnapResultProvider.collectSameSizeSnapResults(GraphSnapContext context,
CollectSnapResultsEventArgs args,
INode node,
ReshapeRectangleContext reshapeContext,
RectD suggestedLayout)
Collects the snap results that make the node the same size as other elements.
|
protected void |
NodeReshapeSnapResultProvider.collectSnapLineResults(GraphSnapContext context,
CollectSnapResultsEventArgs args,
INode node,
ReshapeRectangleContext reshapeContext,
RectD suggestedLayout)
Collects the snap results that makes the node's bounds snap to the
fixed node snap lines . |
protected void |
NodeSnapResultProvider.collectSnapLineSnapResults(GraphSnapContext context,
CollectSnapResultsEventArgs args,
RectD suggestedLayout,
INode node)
Collects the results for the given layout for all snap lines in question.
|
protected void |
NodeSnapResultProvider.collectSnapResults(CollectSnapResultsEventArgs args,
OrthogonalSnapLine snapLine,
RectD suggestedLayout,
INode node)
Verifies whether the node will snap to the given snap line.
|
void |
NodeReshapeSnapResultProvider.collectSnapResults(GraphSnapContext context,
CollectSnapResultsEventArgs args,
INode node,
ReshapeRectangleContext reshapeContext)
Called when a node is
dragged
to add SnapResult s for
OrthogonalSnapLine s or sizes to which this node can potentially snap during resizing. |
void |
INodeReshapeSnapResultProvider.collectSnapResults(GraphSnapContext context,
CollectSnapResultsEventArgs args,
INode node,
ReshapeRectangleContext reshapeContext)
Called when a node's handle is
dragged
to add SnapResult s for
OrthogonalSnapLine s or sizes to which this node can potentially snap during
resizing. |
void |
NodeSnapResultProvider.collectSnapResults(GraphSnapContext context,
CollectSnapResultsEventArgs args,
RectD suggestedLayout,
INode node) |
void |
INodeSnapResultProvider.collectSnapResults(GraphSnapContext context,
CollectSnapResultsEventArgs args,
RectD suggestedLayout,
INode node)
Called when a node is
dragged
to add SnapResult s for
OrthogonalSnapLine s to which this node can potentially snap. |
protected OrthogonalSnapLine |
NodeSnapLineProvider.createCenterSnapLine(GraphSnapContext context,
INode node,
SnapLineOrientation orientation,
PointD location)
Convenience method that creates a snap line for the center of nodes.
|
protected INode |
NodeDropInputMode.createNode(IInputModeContext context,
IGraph graph,
INode node,
IModelItem dropTarget,
RectD layout)
Creates the node in the graph after it's been dropped.
|
INode |
INodeCreationCallback.createNode(IInputModeContext context,
IGraph graph,
PointD location,
INode parent)
A callback that is used by
GraphEditorInputMode for the creation of nodes. |
void |
NavigationInputMode.enterGroup(INode node)
This method allows for entering a group node so that the currently displayed
IFoldingView 's LocalRoot
will be reset to the provided node. |
IEnumerable<StripeSubregion> |
StripeHitTester.enumerateHits(IInputModeContext context,
PointD location,
INode node)
Return a collection of hits at
location . |
void |
NavigationInputMode.expandGroup(INode groupNode)
Expands the given group node to show the contents of the collapsed group node in this
IFoldingView . |
static AbstractPortCandidateProvider |
IPortCandidateProvider.fromNodeCenter(INode node)
Creates a trivial implementation of an
IPortCandidateProvider that always returns exactly one candidate that is
centered at the node's Layout . |
InsetsD |
INodeInsetsProvider.getInsets(INode node)
Returns the insets for the given
node . |
SizeD |
NodeSizeConstraintProvider.getMaximumSize(INode node) |
SizeD |
INodeSizeConstraintProvider.getMaximumSize(INode node)
Returns the maximum size allowed for the given
node . |
RectD |
NodeSizeConstraintProvider.getMinimumEnclosedArea(INode node) |
RectD |
INodeSizeConstraintProvider.getMinimumEnclosedArea(INode node)
Returns the minimum area that needs to be enclosed by the given
node . |
SizeD |
NodeSizeConstraintProvider.getMinimumSize(INode node) |
SizeD |
INodeSizeConstraintProvider.getMinimumSize(INode node)
Returns the minimum size allowed for the given
node . |
MovementInfo |
GraphSnapContext.getMovementInfo(INode node)
Gets the movement info for the given node.
|
protected IEnumerable<SnapLine> |
NodeReshapeSnapResultProvider.getSnapLines(GraphSnapContext context,
INode node,
ReshapeRectangleContext reshapeContext,
RectD suggestedLayout)
Helper method for method
NodeReshapeSnapResultProvider.collectSnapLineResults(GraphSnapContext, CollectSnapResultsEventArgs, INode, ReshapeRectangleContext, RectD)
that gets all the SnapLine that should be checked for the currently moved node. |
IVisualCreator |
IStripeInputVisualizationHelper.getVisualCreator(IInputModeContext context,
INode tableNode,
StripeVisualizationType type)
Return an
IVisualCreator that is used to visualize the input operation specified by type . |
IVisualCreator |
DefaultStripeInputVisualizationHelper.getVisualCreator(IInputModeContext context,
INode tableNode,
StripeVisualizationType type)
Return an
IVisualCreator that is used to visualize the input operation specified by type . |
boolean |
ReparentNodeHandler.isReparentGesture(IInputModeContext context,
INode node) |
boolean |
IReparentNodeHandler.isReparentGesture(IInputModeContext context,
INode node)
Determines whether the current gesture that can be determined through the context is a reparent gesture.
|
boolean |
ReparentNodeHandler.isValidParent(IInputModeContext context,
INode node,
INode newParent) |
boolean |
IReparentNodeHandler.isValidParent(IInputModeContext context,
INode node,
INode newParent)
Determines whether the provided node may be reparented to a
newParent . |
void |
ReparentNodeHandler.reparent(IInputModeContext context,
INode node,
INode newParent) |
void |
IReparentNodeHandler.reparent(IInputModeContext context,
INode node,
INode newParent)
Performs the actual reparenting after the reparent gesture has been finalized.
|
void |
GraphEditorInputMode.selectNodeAndSelfloopBends(INode node)
Selects the node and possible bends of selfloop edges.
|
void |
GraphEditorInputMode.setNodeLayout(INode node,
RectD layout)
Updates the bounds of the node.
|
void |
StripeSubregion.setTargetTableNode(INode value)
Sets the node the region is associated to.
|
protected boolean |
NavigationInputMode.shouldCollapseGroup(INode groupNode)
Predicate method that decides whether it is allowed to
collapse the given group node. |
protected boolean |
NavigationInputMode.shouldEnterGroup(INode node)
Predicate method that decides whether it is allowed to
enter the specific group node. |
protected boolean |
NavigationInputMode.shouldExpandGroup(INode node)
Predicate method that decides whether it is allowed to
expand the given group node. |
boolean |
ReparentNodeHandler.shouldReparent(IInputModeContext context,
INode node) |
boolean |
IReparentNodeHandler.shouldReparent(IInputModeContext context,
INode node)
Determines whether the user may detach the given node from its current parent in order to reparent it.
|
protected boolean |
NavigationInputMode.shouldToggleExpansionState(INode node)
Predicate method that decides whether it is allowed to
toggle the collapsed state
of the given group node. |
void |
GraphEditorInputMode.snapToGrid(IInputModeContext context,
INode node)
Snaps the node to the grid using the
IGridConstraintProvider for INode s queried from the given context. |
void |
NavigationInputMode.toggleExpansionState(INode groupNode)
Toggles the
expanded/collapsed state for the given group node in the
IFoldingView . |
Modifier and Type | Method and Description |
---|---|
protected void |
NodeReshapeSnapResultProvider.addGridSnapResult(GraphSnapContext context,
CollectSnapResultsEventArgs args,
INode node,
IGridConstraintProvider<INode> provider,
PointD gridSnappedPoint,
PointD snappedLocation)
Adds a snap result for a location that snaps to the grid.
|
void |
NavigationInputMode.addGroupCollapsedListener(IEventHandler<ItemEventArgs<INode>> groupCollapsedEvent)
Adds the given listener for the
GroupCollapsed event that occurs whenever a group has been
Collapsed . |
void |
NavigationInputMode.addGroupCollapsingListener(IEventHandler<ItemEventArgs<INode>> groupCollapsingEvent)
Adds the given listener for the
GroupCollapsing event that occurs before a group will be
Collapsed . |
void |
NavigationInputMode.addGroupEnteredListener(IEventHandler<ItemEventArgs<INode>> groupEnteredEvent)
Adds the given listener for the
GroupEntered event that occurs whenever a group has been
Entered . |
void |
NavigationInputMode.addGroupEnteringListener(IEventHandler<ItemEventArgs<INode>> groupEnteringEvent)
Adds the given listener for the
GroupEntering event that occurs before a group will be
Entered . |
void |
NavigationInputMode.addGroupExitedListener(IEventHandler<ItemEventArgs<INode>> groupExitedEvent)
Adds the given listener for the
GroupExited event that occurs whenever a group has been
Exited . |
void |
NavigationInputMode.addGroupExitingListener(IEventHandler<ItemEventArgs<INode>> groupExitingEvent)
Adds the given listener for the
GroupExiting event that occurs before a group will be
Exited . |
void |
NavigationInputMode.addGroupExpandedListener(IEventHandler<ItemEventArgs<INode>> groupExpandedEvent)
Adds the given listener for the
GroupExpanded event that occurs whenever a group has been
Expanded . |
void |
NavigationInputMode.addGroupExpandingListener(IEventHandler<ItemEventArgs<INode>> groupExpandingEvent)
Adds the given listener for the
GroupExpanding event that occurs before a group will be
Expanded . |
void |
GraphEditorInputMode.addNodeCreatedListener(IEventHandler<ItemEventArgs<INode>> nodeCreatedEvent)
Adds the given listener for the
NodeCreated event that occurs when this mode has created a node in response to
user interaction. |
protected void |
GraphEditorInputMode.adjustGroupNodeSize(Iterable<INode> nodes)
Adjusts the size of the group nodes in the enumerable. |
protected void |
NavigationInputMode.onGroupCollapsed(ItemEventArgs<INode> argument)
Raises the
GroupCollapsed event. |
protected void |
NavigationInputMode.onGroupCollapsing(ItemEventArgs<INode> argument)
Raises the
GroupCollapsing event. |
protected void |
NavigationInputMode.onGroupEntered(ItemEventArgs<INode> argument)
Raises the
GroupEntered event. |
protected void |
NavigationInputMode.onGroupEntering(ItemEventArgs<INode> argument)
Raises the
GroupEntering event. |
protected void |
NavigationInputMode.onGroupExited(ItemEventArgs<INode> argument)
Raises the
GroupExited event. |
protected void |
NavigationInputMode.onGroupExiting(ItemEventArgs<INode> argument)
Raises the
GroupExiting event. |
protected void |
NavigationInputMode.onGroupExpanded(ItemEventArgs<INode> argument)
Raises the
GroupExpanded event. |
protected void |
NavigationInputMode.onGroupExpanding(ItemEventArgs<INode> argument)
Raises the
GroupExpanding event. |
protected void |
GraphEditorInputMode.onNodeCreated(ItemEventArgs<INode> args)
Raises the
NodeCreated event. |
protected void |
GraphEditorInputMode.onNodeDropInputModeNodeCreated(Object sender,
ItemEventArgs<INode> e)
Called when the
NodeDropInputMode 's ItemCreated
event is triggered. |
void |
NavigationInputMode.removeGroupCollapsedListener(IEventHandler<ItemEventArgs<INode>> groupCollapsedEvent)
Removes the given listener for the
GroupCollapsed event that occurs whenever a group has been
Collapsed . |
void |
NavigationInputMode.removeGroupCollapsingListener(IEventHandler<ItemEventArgs<INode>> groupCollapsingEvent)
Removes the given listener for the
GroupCollapsing event that occurs before a group will be
Collapsed . |
void |
NavigationInputMode.removeGroupEnteredListener(IEventHandler<ItemEventArgs<INode>> groupEnteredEvent)
Removes the given listener for the
GroupEntered event that occurs whenever a group has been
Entered . |
void |
NavigationInputMode.removeGroupEnteringListener(IEventHandler<ItemEventArgs<INode>> groupEnteringEvent)
Removes the given listener for the
GroupEntering event that occurs before a group will be
Entered . |
void |
NavigationInputMode.removeGroupExitedListener(IEventHandler<ItemEventArgs<INode>> groupExitedEvent)
Removes the given listener for the
GroupExited event that occurs whenever a group has been
Exited . |
void |
NavigationInputMode.removeGroupExitingListener(IEventHandler<ItemEventArgs<INode>> groupExitingEvent)
Removes the given listener for the
GroupExiting event that occurs before a group will be
Exited . |
void |
NavigationInputMode.removeGroupExpandedListener(IEventHandler<ItemEventArgs<INode>> groupExpandedEvent)
Removes the given listener for the
GroupExpanded event that occurs whenever a group has been
Expanded . |
void |
NavigationInputMode.removeGroupExpandingListener(IEventHandler<ItemEventArgs<INode>> groupExpandingEvent)
Removes the given listener for the
GroupExpanding event that occurs before a group will be
Expanded . |
void |
GraphEditorInputMode.removeNodeCreatedListener(IEventHandler<ItemEventArgs<INode>> nodeCreatedEvent)
Removes the given listener for the
NodeCreated event that occurs when this mode has created a node in response
to user interaction. |
void |
NodeDropInputMode.setIsGroupNodePredicate(Predicate<INode> value)
Sets the callback for testing whether a
dragged node should be created as a
group node . |
void |
NodeDropInputMode.setIsValidParentPredicate(Predicate<INode> value)
Sets the callback for testing whether an existing node in the graph can be used as a valid parent node in the context of
grouping.
|
void |
GraphSnapContext.setNodeGridConstraintProvider(IGridConstraintProvider<INode> value)
Sets the grid constraint provider for the
INode s. |
Constructor and Description |
---|
NodeBasedSnapLine(INode node,
SnapLineOrientation orientation,
SnapLineSnapTypes snapType,
ResourceKey resourceKey,
PointD coordinates,
double from,
double to,
Object tag,
double weight)
Initializes a new instance of the
NodeBasedSnapLine class. |
NodeBasedSnapLine(INode node,
SnapLineOrientation orientation,
SnapLineSnapTypes snapType,
ResourceKey resourceKey,
PointD coordinates,
Object tag,
double weight)
Initializes a new instance of the
NodeBasedSnapLine class. |
NodePairBasedSnapLine(INode firstNode,
INode secondNode,
SnapLineOrientation orientation,
SnapLineSnapTypes snapType,
ResourceKey resourceKey,
PointD coordinates,
double from,
double to,
Object tag,
double weight)
Initializes a new instance of the
NodePairBasedSnapLine class. |
NodePairBasedSnapLine(INode firstNode,
INode secondNode,
SnapLineOrientation orientation,
SnapLineSnapTypes snapType,
ResourceKey resourceKey,
PointD coordinates,
Object tag,
double weight)
Initializes a new instance of the
NodePairBasedSnapLine class. |
TableReshapeHandler(IReshapeHandler coreHandler,
INode tableNode,
ITable table)
Creates a new instance of this Handler which wraps an existing instance of
coreHandler and uses table
for additional constraints. |