Package | Description |
---|---|
org.graphstream.graph | |
org.graphstream.graph.implementations |
Modifier and Type | Method and Description |
---|---|
<T extends Edge> |
Graph.addEdge(java.lang.String id,
int index1,
int index2)
Like
Graph.addEdge(String, String, String) but the nodes are
identified by their indices. |
<T extends Edge> |
Graph.addEdge(java.lang.String id,
int fromIndex,
int toIndex,
boolean directed)
Like
Graph.addEdge(String, String, String, boolean) but the nodes are
identified by their indices. |
<T extends Edge> |
Graph.addEdge(java.lang.String id,
Node node1,
Node node2)
Like
Graph.addEdge(String, String, String) but the node references are
given instead of node identifiers. |
<T extends Edge> |
Graph.addEdge(java.lang.String id,
Node from,
Node to,
boolean directed)
Like
Graph.addEdge(String, String, String, boolean) but the node
references are given instead of node identifiers. |
<T extends Edge> |
Graph.addEdge(java.lang.String id,
java.lang.String node1,
java.lang.String node2)
Adds an undirected edge between nodes.
|
Modifier and Type | Method and Description |
---|---|
<T extends Edge> |
Graphs.SynchronizedGraph.addEdge(java.lang.String id,
java.lang.String node1,
java.lang.String node2) |