Class SpringBoxNodeParticle
java.lang.Object
org.miv.pherd.Particle
org.graphstream.ui.layout.springbox.NodeParticle
org.graphstream.ui.layout.springbox.implementations.SpringBoxNodeParticle
public class SpringBoxNodeParticle extends NodeParticle
-
Field Summary
Fields inherited from class org.graphstream.ui.layout.springbox.NodeParticle
attE, disp, frozen, len, neighbours, out, repE -
Constructor Summary
Constructors Constructor Description SpringBoxNodeParticle(SpringBox box, String id)New node.SpringBoxNodeParticle(SpringBox box, String id, double x, double y, double z)New node at a given position. -
Method Summary
Methods inherited from class org.graphstream.ui.layout.springbox.NodeParticle
getEdges, inserted, move, moveOf, moveTo, nextStep, registerEdge, removed, removeNeighborEdges, unregisterEdgeMethods inherited from class org.miv.pherd.Particle
closeTo, closeTo, getAttribute, getAttributeKeyIterator, getCell, getId, getPosition, getWeight, removeAttribute, setAttribute, setCell, setWeight, suicide
-
Constructor Details
-
SpringBoxNodeParticle
New node. The node is placed at random in the space of the simulation.- Parameters:
box- The spring box.id- The node identifier.
-
SpringBoxNodeParticle
New node at a given position.- Parameters:
box- The spring box.id- The node identifier.x- The abscissa.y- The ordinate.z- The depth.
-