Package | Description |
---|---|
org.graphstream.graph |
Modifier and Type | Method and Description |
---|---|
<T extends Edge> |
Graph.addEdge(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(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(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(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(String id,
String node1,
String node2)
Adds an undirected edge between nodes.
|
Copyright © 2015. All rights reserved.