Package | Description |
---|---|
org.graphstream.graph |
Modifier and Type | Method and Description |
---|---|
default 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. |
default 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. |
default 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. |
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. |
default Edge |
Graph.addEdge(java.lang.String id,
java.lang.String node1,
java.lang.String node2)
Adds an undirected edge between nodes.
|
default Edge |
Graph.addEdge(java.lang.String id,
java.lang.String from,
java.lang.String to,
boolean directed)
Like
Graph.addEdge(String, String, String) , but this edge can be directed
between the two given nodes. |