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.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.
|
Modifier and Type | Method and Description |
---|---|
static <T> IEdgeCursor |
Cursors.createEdgeCursor(Collection<T> c)
Creates a cursor view of the given collection.
|
IEdgeCursor |
EdgeList.edges()
Returns an edge cursor for this edge list.
|
IEdgeCursor |
Node.getEdgeCursor()
Returns an edge cursor for all incoming and outgoing edges at this node.
|
IEdgeCursor |
Graph.getEdgeCursor()
Provides access to the edges of the graph.
|
IEdgeCursor |
LayoutGraphHider.getHiddenEdgeCursor()
The edges that are currently hidden.
|
IEdgeCursor |
Node.getInEdgeCursor()
Returns an edge cursor for incoming edges at this node.
|
IEdgeCursor |
Node.getInEdgeCursor(Edge startEdge)
Returns an edge cursor for incoming edges at this node.
|
IEdgeCursor |
Node.getOutEdgeCursor()
Returns an edge cursor for outgoing edges at this node.
|
IEdgeCursor |
Node.getOutEdgeCursor(Edge startEdge)
Returns an edge cursor for outgoing edges at this node.
|
Modifier and Type | Method and Description |
---|---|
void |
LayoutGraphHider.hide(IEdgeCursor ec)
Hides the given edges from the graph.
|
void |
GraphPartitionManager.hide(IEdgeCursor ec)
Hides the given edges from the graph.
|
static void |
LayoutGraphHider.hideSubgraph(Graph graph,
IEdgeCursor ec)
Hides the subgraph induced by the given edges from the given graph.
|
static void |
LayoutGraphHider.unhideSubgraph(Graph graph,
IEdgeCursor ec)
Unhides the subgraph induced by the given edges in the given graph.
|
Constructor and Description |
---|
EdgeList(IEdgeCursor c)
Creates a list that is initialized with the edges provided by the given EdgeCursor object.
|
EdgeList(IEdgeCursor ec,
IDataProvider predicate)
Creates a list that is initialized with those edges from the given EdgeCursor object for which the given data provider
returns
true upon calling its getBool method. |
Modifier and Type | Method and Description |
---|---|
void |
PortConstraintConfigurator.createPortConstraintsFromSketch(LayoutGraph graph,
IEdgeCursor ec,
IEdgeMap spcMap,
boolean strongSP,
IEdgeMap tpcMap,
boolean strongTP)
Creates
PortConstraint s for some edges of the given graph. |
static Rectangle2D |
LayoutGraphUtilities.getBoundingBox(LayoutGraph graph,
IEdgeCursor edges)
Returns the bounding box of the edges 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.moveEdges(LayoutGraph graph,
IEdgeCursor edges,
double dx,
double dy)
Moves the control points of all edges accessible through the given
IEdgeCursor by the vector (dx,dy) . |
static void |
LayoutGraphUtilities.moveSubgraph(LayoutGraph graph,
IEdgeCursor edges,
double dx,
double dy)
Moves the subgraph induced by the edges accessible through the given
IEdgeCursor by the vector (dx,dy) . |
Modifier and Type | Method and Description |
---|---|
static void |
BusRepresentations.replaceSubgraphByHubs(LayoutGraph graph,
IEdgeCursor edgeCursor,
IDataProvider descriptorProvider,
IDataAcceptor busIDAcceptor)
Changes the representation of buses from complete subgraphs to hubs by replacing intersection points by hubs.
|
Modifier and Type | Method and Description |
---|---|
IEdgeCursor |
PathSearchContext.getEdges()
Gets the
IEdgeCursor to iterate over the edges that are routed. |