Uses of Class
org.graphstream.graph.ElementNotFoundException
| Package | Description |
|---|---|
| org.graphstream.graph | |
| org.graphstream.ui.graphicGraph |
-
Uses of ElementNotFoundException in org.graphstream.graph
Methods in org.graphstream.graph that throw ElementNotFoundException Modifier and Type Method Description default EdgeGraph. addEdge(String id, String node1, String node2)Adds an undirected edge between nodes.default EdgeGraph. addEdge(String id, String from, String to, boolean directed)LikeGraph.addEdge(String, String, String), but this edge can be directed between the two given nodes.default voidGraph. read(String filename)Utility method to read a graph.default EdgeGraph. removeEdge(int fromIndex, int toIndex)Removes an edge between two nodes.default EdgeGraph. removeEdge(String id)Removes an edge knowing its identifier.default EdgeGraph. removeEdge(String from, String to)Remove an edge given the identifiers of its two endpoints.EdgeGraph. removeEdge(Node node1, Node node2)Removes an edge between two nodes.default NodeGraph. removeNode(String id)Remove a node using its identifier. -
Uses of ElementNotFoundException in org.graphstream.ui.graphicGraph
Methods in org.graphstream.ui.graphicGraph that throw ElementNotFoundException Modifier and Type Method Description EdgeGraphicGraph. addEdge(String id, String from, String to, boolean directed)EdgeGraphicGraph. removeEdge(String id)EdgeGraphicGraph. removeEdge(String from, String to)NodeGraphicGraph. removeNode(String id)