com.touchgraph.graphlayout.graphelements
public class GESUtils extends Object
Constructor and Description |
---|
GESUtils() |
Modifier and Type | Method and Description |
---|---|
static Hashtable |
calculateDistances(GraphEltSet ges,
Node focusNode,
int radius) |
static Hashtable |
calculateDistances(GraphEltSet ges,
Node focusNode,
int radius,
int maxAddEdgeCount,
int maxExpandEdgeCount,
boolean unidirectional)
Returns a hashtable of Node-Integer pairs, where integers are the minimum
distance from the focusNode to any given Node, and the Nodes in the Hashtable
are all within radius distance from the focusNode.
|
static Hashtable |
getLargestConnectedSubgraph(GraphEltSet ges)
A temporary function that returns the largest connected subgraph in a GraphEltSet.
|
public static Hashtable calculateDistances(GraphEltSet ges, Node focusNode, int radius, int maxAddEdgeCount, int maxExpandEdgeCount, boolean unidirectional)
public static Hashtable calculateDistances(GraphEltSet ges, Node focusNode, int radius)
public static Hashtable getLargestConnectedSubgraph(GraphEltSet ges)