com.nwoods.jgo.layout
Class JGoForceDirectedAutoLayoutLinkData

java.lang.Object
  extended bycom.nwoods.jgo.layout.JGoForceDirectedAutoLayoutLinkData
All Implemented Interfaces:
JGoAutoLayoutLinkData

public class JGoForceDirectedAutoLayoutLinkData
extends java.lang.Object
implements JGoAutoLayoutLinkData

Holds force-directed auto-layout specific data associated with each JGoNetworkLink in the JGoNetwork.


Field Summary
 double length
          length - length of the link; see springLength method
 double stiffness
          stiffness - stiffness of the link; see springStiffness method
 
Constructor Summary
JGoForceDirectedAutoLayoutLinkData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stiffness

public double stiffness
stiffness - stiffness of the link; see springStiffness method


length

public double length
length - length of the link; see springLength method

Constructor Detail

JGoForceDirectedAutoLayoutLinkData

public JGoForceDirectedAutoLayoutLinkData()