suvi.api.alg.attr
Interface EdgeWeightAttr

All Superinterfaces:
GraphLayoutAttr

public interface EdgeWeightAttr
extends GraphLayoutAttr

Edge weight attributes.

A layout algorithm, that considers edge weights, generally tries to keep heavy, or important, edges straight and short.


Field Summary
static EdgeWeightAttr DEFAULT
          Default edge weight attributes.
static GraphLayoutAttrBuilderFactory DEFAULT_BUILDER_FACTORY
          Default edge weight attribute builder factory.
static double DEFAULT_EDGE_WEIGHT
          The default weight of an edge is 1.0.
static java.lang.Object KEY_EDGE_WEIGHT
          Key for textual attribute representation.
 
Method Summary
 double edgeWeight(java.lang.Object edge)
          Weight of the given edge.
 

Field Detail

KEY_EDGE_WEIGHT

public static final java.lang.Object KEY_EDGE_WEIGHT

Key for textual attribute representation.


DEFAULT_EDGE_WEIGHT

public static final double DEFAULT_EDGE_WEIGHT

The default weight of an edge is 1.0.

See Also:
Constant Field Values

DEFAULT

public static final EdgeWeightAttr DEFAULT

Default edge weight attributes.


DEFAULT_BUILDER_FACTORY

public static final GraphLayoutAttrBuilderFactory DEFAULT_BUILDER_FACTORY

Default edge weight attribute builder factory.

Method Detail

edgeWeight

public double edgeWeight(java.lang.Object edge)

Weight of the given edge.