suvi
Class GraphLayoutAlgGen
java.lang.Object
|
+--suvi.GraphLayoutAlgGen
- All Implemented Interfaces:
- GraphLayoutAlgGenConstants
- public class GraphLayoutAlgGen
- extends java.lang.Object
- implements GraphLayoutAlgGenConstants
A generator, see [Czarnecki2000],
for graph layout algorithms. The algorithm is specified using the
constants in the GraphLayoutAlgGenConstants
-interface.
In this context, a generator is a program that takes a higher-level
specification of a complex component and produces its implementation.
The generator logically separates the client of a component from the
implementation details of the component.
Note that different algorithms use different attributes. If
you need an algorithm that specifically considers certain attributes,
such as an additional partial ordering relation, then you must generate
an algorithm that takes such attributes into consideration. Also note
that an algorithm can directly tell which attributes it actually uses.
Attributes that are not used by an algorithm are normally simply
ignored.
Fields inherited from interface suvi.GraphLayoutAlgGenConstants |
LAO_BIT_MASK, LAO_WITH_DEBUG_ASSERTIONS_FLAG, LAO_WITH_EDGE_LABELS_FLAG, LAO_WITH_EXPLICIT_RANK_ORDER_FLAG, LAO_WITH_NODE_RANK_GROUPING_FLAG, LAO_WITH_PARTIAL_RANK_ORDER_FLAG, LAQ_BEST_VISUAL_QUALITY, LAQ_FASTEST_LAYOUT_ALG, LAQ_GOOD_VISUAL_QUALITY_AND_FAST_LAYOUT_ALG, LAQ_MAX_VALUE, LAQ_MIN_VALUE |
Method Summary |
static GraphLayoutAlg |
alg(int layoutQuality,
int layoutOptions)
A graph layout algorithm that best matches the requested quality
and fulfills the requested options. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphLayoutAlgGen
public GraphLayoutAlgGen()
alg
public static GraphLayoutAlg alg(int layoutQuality,
int layoutOptions)
A graph layout algorithm that best matches the requested quality
and fulfills the requested options.
- See Also:
GraphLayoutAlgGenConstants