info.aduna.linkmap.layout
Class SpringLayoutManager.EdgeAttribute

java.lang.Object
  extended by info.aduna.linkmap.layout.SpringLayoutManager.EdgeAttribute
Enclosing class:
SpringLayoutManager

public static class SpringLayoutManager.EdgeAttribute
extends Object


Field Summary
 Edge edge
          The edge in which this EdgeAttribute is installed.
 double springConstant
          The spring constant of the simulated spring.
 double springLength
          The ideal length of the spring, i.e.
 
Constructor Summary
SpringLayoutManager.EdgeAttribute(Edge edge)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

edge

public Edge edge
The edge in which this EdgeAttribute is installed.


springConstant

public double springConstant
The spring constant of the simulated spring. A higher spring constant will result in a "stronger" spring. The value of this attribute should be greater than or equal to zero.


springLength

public double springLength
The ideal length of the spring, i.e. the length of the spring when there are no other forces acting upon the Vertices connected by the represented Edge. The value of this attribute should be greater than or equal to zero.

Constructor Detail

SpringLayoutManager.EdgeAttribute

public SpringLayoutManager.EdgeAttribute(Edge edge)


Copyright © 1997-2008 Aduna. All Rights Reserved.