Package | Description |
---|---|
org.netbeans.api.visual.graph.layout |
This package contains built-in graph-oriented layout algorithms.
|
Modifier and Type | Method and Description |
---|---|
void |
GraphLayoutListener.graphLayoutFinished(UniversalGraph<N,E> graph)
Called when a graph layout is finished.
|
void |
GraphLayoutListener.graphLayoutStarted(UniversalGraph<N,E> graph)
Called when a graph layout is started.
|
void |
GraphLayoutListener.nodeLocationChanged(UniversalGraph<N,E> graph,
N node,
Point previousPreferredLocation,
Point newPreferredLocation)
Called when a graph layout resolves a new location for a node.
|
protected void |
GridGraphLayout.performGraphLayout(UniversalGraph<N,E> graph)
Performs the grid graph layout on an universal graph.
|
protected void |
TreeGraphLayout.performGraphLayout(UniversalGraph<N,E> graph) |
protected abstract void |
GraphLayout.performGraphLayout(UniversalGraph<N,E> graph)
Implements and performs particular graph-oriented algorithm of a UniversalGraph.
|
protected void |
GridGraphLayout.performNodesLayout(UniversalGraph<N,E> graph,
Collection<N> nodes)
Should perform nodes layout.
|
protected void |
TreeGraphLayout.performNodesLayout(UniversalGraph<N,E> graph,
Collection<N> nodes) |
protected abstract void |
GraphLayout.performNodesLayout(UniversalGraph<N,E> graph,
Collection<N> nodes)
Implements and performs particular location resolution of a collection of nodes in a UniversalGraph.
|
protected void |
GraphLayout.setResolvedNodeLocation(UniversalGraph<N,E> graph,
N node,
Point newPreferredLocation)
Should be called to set a new resolved preferred location of a node.
|