Gephi Toolkit Javadoc

org.gephi.layout.plugin.force
Class StepDisplacement

java.lang.Object
  extended by org.gephi.layout.plugin.force.StepDisplacement
All Implemented Interfaces:
Displacement

public class StepDisplacement
extends java.lang.Object
implements Displacement

The node is moved a fixed distance (step) in the direction of the force.

Author:
Helder Suzuki

Constructor Summary
StepDisplacement(float step)
           
 
Method Summary
 void moveNode(NodeData node, ForceVector forceData)
           
 void setStep(float step)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StepDisplacement

public StepDisplacement(float step)
Method Detail

moveNode

public void moveNode(NodeData node,
                     ForceVector forceData)
Specified by:
moveNode in interface Displacement

setStep

public void setStep(float step)
Specified by:
setStep in interface Displacement

Gephi Toolkit Javadoc