|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xistrat.util.d3.vrmlgraph.NodeMover
public class NodeMover
An instance of this class can be used to perform 3-D spring embedding on the GraphData that is passed via its constructor.
| Constructor Summary | |
|---|---|
NodeMover(GraphData graph)
Constructor for the NodeMover object |
|
| Method Summary | |
|---|---|
void |
move()
Apply the spring embedding method to the graph data Calling this method will use the default values for the embedding method. |
void |
move(double C1,
double C2,
double C3,
double C4,
long M)
Apply the spring embedding method to the graph data. |
void |
move(long M)
Apply the spring embedding method to the graph data Calling this method allows the number of calculations to be specified, but all other values shall take their defaults. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeMover(GraphData graph)
graph - The GraphData object to be spring embedded| Method Detail |
|---|
public void move()
public void move(long M)
M - The number of calculations to perform during the spring embedding
public void move(double C1,
double C2,
double C3,
double C4,
long M)
C1 - A constant value used in the spring embeddingC2 - A constant value used in the spring embeddingC3 - A constant value used in the spring embeddingC4 - A constant value used in the spring embeddingM - The number of calculations to perform during the spring embedding
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||