Gephi Toolkit Javadoc

org.gephi.layout.plugin.force
Class ProportionalDisplacement

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

public class ProportionalDisplacement
extends java.lang.Object
implements Displacement

The movement of the node is in the direction of the force and it's proportional to is module.

Author:
Helder Suzuki

Constructor Summary
ProportionalDisplacement(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

ProportionalDisplacement

public ProportionalDisplacement(float step)
Method Detail

setStep

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

moveNode

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

Gephi Toolkit Javadoc