Package | Description |
---|---|
org.graphstream.graph | |
org.graphstream.graph.implementations | |
org.graphstream.ui.graphicGraph |
Modifier and Type | Method and Description |
---|---|
<T extends Edge> |
Graph.addEdge(String id,
String node1,
String node2)
Adds an undirected edge between nodes.
|
<T extends Edge> |
Graph.addEdge(String id,
String from,
String to,
boolean directed)
Like
Graph.addEdge(String, String, String) , but this edge can be
directed between the two given nodes. |
void |
Graph.read(String filename)
Utility method to read a graph.
|
<T extends Edge> |
Graph.removeEdge(int fromIndex,
int toIndex)
Removes an edge between two nodes.
|
<T extends Edge> |
Graph.removeEdge(Node node1,
Node node2)
Removes an edge between two nodes.
|
<T extends Edge> |
Graph.removeEdge(String id)
Removes an edge knowing its identifier.
|
<T extends Edge> |
Graph.removeEdge(String from,
String to)
Remove an edge given the identifiers of its two endpoints.
|
<T extends Node> |
Graph.removeNode(String id)
Remove a node using its identifier.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractGraph.read(String filename) |
Modifier and Type | Method and Description |
---|---|
<T extends Edge> |
GraphicGraph.addEdge(String id,
String from,
String to) |
<T extends Edge> |
GraphicGraph.addEdge(String id,
String from,
String to,
boolean directed) |
<T extends Edge> |
GraphicGraph.removeEdge(String id) |
<T extends Edge> |
GraphicGraph.removeEdge(String from,
String to) |
<T extends Node> |
GraphicGraph.removeNode(String id) |
Copyright © 2015. All rights reserved.