com.touchgraph.graphlayout.graphelements
public class VisibleLocality extends Locality
completeEltSet
edges, nodeIDRegistry, nodes
Constructor and Description |
---|
VisibleLocality(GraphEltSet ges) |
Modifier and Type | Method and Description |
---|---|
void |
addEdge(Edge edge)
Add the Edge edge to the graph.
|
void |
addNode(Node node)
Add the Node node to the graph, and
registers the Node via its ID.
|
void |
removeAll() |
boolean |
removeEdge(Edge edge) |
boolean |
removeNode(Node node) |
void |
updateLocalityFromVisibility() |
addAll, addNodeWithEdges, clearAll, deleteEdge, deleteEdges, deleteNode, deleteNodes, findEdge, getCompleteEltSet, removeEdges, removeNodes
addEdge, contains, contains, deleteEdge, edgeAt, edgeCount, edgeNum, findNode, findNodeByURL, findNodeLabelContaining, forAllEdges, forAllNodePairs, forAllNodes, getFirstNode, getRandomNode, nodeAt, nodeCount, nodeNum
public VisibleLocality(GraphEltSet ges)
public void addNode(Node node) throws TGException
GraphEltSet
addNode
in class Locality
TGException
public void addEdge(Edge edge)
GraphEltSet
public boolean removeEdge(Edge edge)
removeEdge
in class Locality
public boolean removeNode(Node node)
removeNode
in class Locality
public void updateLocalityFromVisibility() throws TGException
TGException