Class VerticalAlignment<V,E>
- java.lang.Object
-
- org.jungrapht.visualization.layout.algorithms.sugiyama.VerticalAlignment<V,E>
-
- Type Parameters:
V-E-
- Direct Known Subclasses:
VerticalAlignment,VerticalAlignment.LeftmostLower,VerticalAlignment.LeftmostUpper,VerticalAlignment.RightmostLower,VerticalAlignment.RightmostUpper,VerticalAlignmentDeprecated
public abstract class VerticalAlignment<V,E> extends Object
- See Also:
- "Fast and Simple Horizontal Coordinate Assignment, Ulrik Brandes and Boris Köpf, Department of Computer & Information Science, University of Konstanz"
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVerticalAlignment.LeftmostLower<V,E>start at last layer, work upwards looking at successor positionsstatic classVerticalAlignment.LeftmostUpper<V,E>start at first layer, work down, looking at predecessorsstatic classVerticalAlignment.RightmostLower<V,E>start at last layer, work up, looking at successorsstatic classVerticalAlignment.RightmostUpper<V,E>
-
Field Summary
Fields Modifier and Type Field Description protected Map<LV<V>,LV<V>>alignMapprotected LV<V>[][]layersprotected Set<LE<V,E>>markedSegmentsprotected org.jgrapht.alg.util.NeighborCache<LV<V>,LE<V,E>>neighborCacheprotected Map<LV<V>,LV<V>>rootMapprotected org.jgrapht.Graph<LV<V>,LE<V,E>>svGraph
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidalign()protected LV<V>align(LV<V> v)protected voidalign(LV<V> k, LV<V> v)protected intalignMoveCursor(LV<V> um, LV<V> vkofi)Map<LV<V>,LV<V>>getAlignMap()Map<LV<V>,LV<V>>getRootMap()protected booleannotMarked(LE<V,E> edge)protected intpos(LV<V> v)protected LV<V>root(LV<V> v)protected voidroot(LV<V> k, LV<V> v)
-