Package | Description |
---|---|
com.yworks.yfiles.algorithms | |
com.yworks.yfiles.layout |
Provides essential classes and interfaces that constitute the infrastructure for automatic graph layout generation.
|
com.yworks.yfiles.layout.tree |
Provides tree layout style algorithms.
|
Modifier and Type | Method and Description |
---|---|
static <T> INodeCursor |
Cursors.createNodeCursor(Collection<T> c)
Creates a cursor view of the given collection.
|
INodeCursor |
LayoutGraphHider.getHiddenNodeCursor()
The nodes that are currently hidden.
|
INodeCursor |
Node.getNeighborCursor()
Returns a node cursor for all neighbor nodes of this node.
|
INodeCursor |
Graph.getNodeCursor()
Provides access to the nodes of the graph.
|
INodeCursor |
Node.getPredecessorCursor()
Returns a node cursor for all predecessor nodes of this node.
|
INodeCursor |
Node.getSuccessorCursor()
Returns a node cursor for all successor nodes of this node.
|
INodeCursor |
NodeList.nodes()
Returns a node cursor for this node list.
|
INodeCursor |
INodeSequencer.nodes(Graph graph)
Returns a cursor that grants access to all nodes of the given graph in some order.
|
Modifier and Type | Method and Description |
---|---|
void |
LayoutGraphHider.hide(INodeCursor nc)
Hides the given nodes from the graph.
|
void |
GraphPartitionManager.hide(INodeCursor nc)
Hides the given nodes from the graph.
|
Constructor and Description |
---|
NodeList(INodeCursor c)
Creates a list that is initialized with the nodes provided by the given NodeCursor object.
|
NodeList(INodeCursor nc,
IDataProvider predicate)
Creates a list that is initialized with those nodes from the given NodeCursor object for which the given data provider
returns
true upon calling its getBool method. |
Modifier and Type | Method and Description |
---|---|
static Rectangle2D |
LayoutGraphUtilities.getBoundingBox(LayoutGraph graph,
INodeCursor nodes)
Returns the bounding box of the nodes accessible through the given cursor.
|
static Rectangle2D |
LayoutGraphUtilities.getBoundingBox(LayoutGraph graph,
INodeCursor nodes,
IEdgeCursor edges)
Returns the bounding box of the nodes and edges accessible through the given cursors.
|
static Rectangle2D |
LayoutGraphUtilities.getBoundingBox(LayoutGraph graph,
INodeCursor nodes,
IEdgeCursor edges,
boolean includeLabels)
Returns the bounding box of the nodes and edges accessible through the given cursors, optionally including node labels
and edge labels.
|
static Rectangle2D |
LayoutGraphUtilities.getBoundingBox(LayoutGraph graph,
INodeCursor nodes,
IEdgeCursor edges,
boolean includeNodeLabels,
boolean includeEdgeLabels)
Returns the bounding box of the nodes and edges accessible through the given cursors, optionally including node labels
or edge labels.
|
static Rectangle2D |
LayoutGraphUtilities.getBoundingBox(LayoutGraph graph,
INodeCursor nodes,
IEdgeCursor edges,
boolean includeNodeLabels,
boolean includeEdgeLabels,
boolean includeHalos)
Returns the bounding box of the nodes and edges accessible through the given cursors, optionally including node labels,
edge labels or
NodeHalo s. |
static void |
LayoutGraphUtilities.moveNodes(LayoutGraph graph,
INodeCursor nodes,
double dx,
double dy)
Moves all nodes accessible through the given
INodeCursor by the vector (dx,dy) . |
static void |
LayoutGraphUtilities.moveSubgraph(LayoutGraph graph,
INodeCursor nodes,
double dx,
double dy)
Moves the subgraph induced by the nodes accessible through the given
INodeCursor by the vector (dx,dy) . |
Modifier and Type | Method and Description |
---|---|
protected INodeCursor |
AspectRatioTreeLayout.getSuccessors(Node localRoot)
Retrieves all children of the given local root.
|