Modifier and Type | Method and Description |
---|---|
Graph |
Node.getGraph()
Parent graph.
|
Graph |
GraphFactory.newInstance(java.lang.String id,
java.lang.String graphClass)
Instantiate a new graph from the given class name.
|
Modifier and Type | Method and Description |
---|---|
T |
NodeFactory.newInstance(java.lang.String id,
Graph graph)
Create a new instance of node.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractGraph
This class provides a basic implementation of
Graph interface, to minimize the effort
required to implement this interface. |
class |
AdjacencyListGraph
A lightweight graph class intended to allow the construction of big graphs
(millions of elements).
|
class |
DefaultGraph
Default implementation of graph.
|
class |
MultiGraph
A graph implementation that supports multiple edges between two nodes.
|
class |
SingleGraph
An implementation of graph that supports only one edge between two nodes.
|
Modifier and Type | Method and Description |
---|---|
static Graph |
Graphs.clone(Graph g)
Clone a given graph with same node/edge structure and same attributes.
|
Graph |
AbstractNode.getGraph()
This implementation returns
AbstractNode.graph . |
static Graph |
Graphs.merge(Graph... graphs)
Merge several graphs in one.
|
static Graph |
Graphs.synchronizedGraph(Graph g)
Synchronizes a graph.
|
static Graph |
Graphs.unmutableGraph(Graph g) |
Modifier and Type | Method and Description |
---|---|
static Graph |
Graphs.clone(Graph g)
Clone a given graph with same node/edge structure and same attributes.
|
static Graph |
Graphs.merge(Graph... graphs)
Merge several graphs in one.
|
static void |
Graphs.mergeIn(Graph result,
Graph... graphs)
Merge several graphs in one.
|
static void |
Graphs.mergeIn(Graph result,
Graph... graphs)
Merge several graphs in one.
|
static Graph |
Graphs.synchronizedGraph(Graph g)
Synchronizes a graph.
|
static Graph |
Graphs.unmutableGraph(Graph g) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Graph> |
Timeline.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
Timeline.begin(Graph source) |
void |
GraphReplay.replay(Graph graph)
Echo each element and attribute of the graph to the registered sinks.
|
Modifier and Type | Method and Description |
---|---|
void |
FileSinkBase.writeAll(Graph graph,
java.io.OutputStream stream) |
void |
FileSink.writeAll(Graph graph,
java.io.OutputStream stream)
Write the current graph state in one big non-interruptible operation.
|
void |
FileSinkImages.writeAll(Graph g,
java.io.OutputStream stream) |
void |
FileSinkSVG2.writeAll(Graph graph,
java.io.OutputStream stream) |
void |
FileSinkGEXF2.writeAll(Graph graph,
java.io.OutputStream stream) |
void |
FileSinkBase.writeAll(Graph graph,
java.lang.String fileName) |
void |
FileSink.writeAll(Graph graph,
java.lang.String fileName)
Write the current graph state in one big non-interruptible operation.
|
void |
FileSinkImages.writeAll(Graph g,
java.lang.String filename) |
void |
FileSinkSVG2.writeAll(Graph graph,
java.lang.String fileName) |
void |
FileSinkGEXF2.writeAll(Graph graph,
java.lang.String fileName) |
void |
FileSinkBase.writeAll(Graph graph,
java.io.Writer writer) |
void |
FileSink.writeAll(Graph graph,
java.io.Writer writer)
Write the current graph state in one big non-interruptible operation.
|
void |
FileSinkImages.writeAll(Graph g,
java.io.Writer writer) |
void |
FileSinkSVG2.writeAll(Graph g,
java.io.Writer w) |
void |
FileSinkGEXF2.writeAll(Graph graph,
java.io.Writer writer) |
Modifier and Type | Class and Description |
---|---|
class |
GraphicGraph
Graph representation used in display classes.
|
Modifier and Type | Method and Description |
---|---|
Graph |
GraphicNode.getGraph() |
Graph |
StyleGroupSet.getGraph(java.lang.String id)
Get a graph element knowing its identifier.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<? extends Graph> |
StyleGroupSet.getGraphIterator()
Iterator on the set of graphs.
|
java.lang.Iterable<? extends Graph> |
StyleGroupSet.graphs()
Iterable set of graphs.
|
Modifier and Type | Method and Description |
---|---|
static double |
GraphPosLengthUtils.edgeLength(Graph graph,
java.lang.String id)
Compute the edge length of the given edge according to its two nodes
positions.
|
StyleGroup |
StyleGroupSet.getStyleFor(Graph graph)
Get the style of a given graph.
|
static Point3 |
GraphPosLengthUtils.nodePointPosition(Graph graph,
java.lang.String id)
Retrieve a node position from its attributes ("x", "y", "z", or "xy", or
"xyz").
|
static double[] |
GraphPosLengthUtils.nodePosition(Graph graph,
java.lang.String id)
Retrieve a node position from its attributes ("x", "y", "z", or "xy", or
"xyz").
|
static void |
GraphPosLengthUtils.nodePosition(Graph graph,
java.lang.String id,
double[] xyz)
Like
GraphPosLengthUtils.nodePosition(Graph,String) , but instead of returning a newly
allocated array, fill up the array given as parameter. |
static Point3 |
GraphPosLengthUtils.nodePosition(Graph graph,
java.lang.String id,
Point3 pos)
Like
GraphPosLengthUtils.nodePointPosition(Graph,String) , but instead of returning a
newly allocated array, fill up the array given as parameter. |
void |
GraphicNode.setGraph(Graph graph) |
Constructor and Description |
---|
LayoutRunner(Graph graph,
Layout layout,
boolean start,
boolean replay)
New layout runner that listen at the given graph and compute a layout on its
graph structure in a distinct thread.
|
Constructor and Description |
---|
SpriteManager(Graph graph)
Create a new manager for sprite and bind it to the given graph.
|
Modifier and Type | Method and Description |
---|---|
void |
Viewer.replayGraph(Graph graph)
Dirty replay of the graph.
|
Modifier and Type | Method and Description |
---|---|
Viewer |
Display.display(Graph graph,
boolean autoLayout) |
void |
GraphDiff.start(Graph g)
Start to record changes.
|
Constructor and Description |
---|
GraphDiff(Graph g1,
Graph g2)
Create a diff between two graphs.
|
GraphListeners(Graph g) |