public class LocalityUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
INFINITE_LOCALITY_RADIUS |
Constructor and Description |
---|
LocalityUtils(Locality loc,
TGPanel tgp) |
Modifier and Type | Method and Description |
---|---|
void |
addAllGraphElts() |
void |
collapseNode(Node collapseNode)
Opposite of expand node, works like hide node except that the selected node is not hidden.
|
void |
expandNode(Node n)
Add to locale nodes that are one edge away from a given node.
|
void |
fastFinishAnimation() |
void |
hideNode(Node hideNode)
Hides a node, and all the nodes attached to it.
|
void |
setLocale(Node n,
int radius) |
void |
setLocale(Node n,
int radius,
int maxAddEdgeCount,
int maxExpandEdgeCount,
boolean unidirectional) |
public static final int INFINITE_LOCALITY_RADIUS
public void fastFinishAnimation()
public void setLocale(Node n, int radius, int maxAddEdgeCount, int maxExpandEdgeCount, boolean unidirectional) throws TGException
TGException
public void setLocale(Node n, int radius) throws TGException
TGException
public void addAllGraphElts() throws TGException
TGException
public void expandNode(Node n)
public void hideNode(Node hideNode)
public void collapseNode(Node collapseNode)