Class HorizontalCompaction<V>
- java.lang.Object
-
- org.jungrapht.visualization.layout.algorithms.sugiyama.HorizontalCompaction<V>
-
- Direct Known Subclasses:
HorizontalCompaction,HorizontalCompactionDeprecated
public class HorizontalCompaction<V> extends Object
- See Also:
- "Fast and Simple Horizontal Coordinate Assignment, Ulrik Brandes and Boris Köpf, Department of Computer & Information Science, University of Konstanz"
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<LV<V>,LV<V>>alignMapprotected intdeltaXprotected intdeltaYprotected LV<V>[][]layersprotected Map<LV<V>,LV<V>>rootMapprotected Map<LV<V>,Integer>shiftprotected Map<LV<V>,LV<V>>sinkprotected Map<LV<V>,Integer>xprotected Map<LV<V>,Integer>y
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LV<V>align(LV<V> v)protected voidalign(LV<V> k, LV<V> v)PointgetPoint(LV<V> v)Map<LV<V>,Integer>getShift()Map<LV<V>,LV<V>>getSink()Map<LV<V>,Integer>getX()Map<LV<V>,Integer>getY()protected booleanhasPredecessor(LV<V> v)voidhorizontalCompaction()protected intidx(LV<V> v)protected voidplaceBlock(LV<V> v)protected intpos(LV<V> v)protected LV<V>pred(LV<V> v)return the predecessor of v in the same rankprotected LV<V>root(LV<V> v)protected voidroot(LV<V> k, LV<V> v)protected intshift(LV<V> v)protected voidshift(LV<V> k, int v)protected LV<V>sink(LV<V> v)protected voidsink(LV<V> k, LV<V> v)protected intx(LV<V> v)protected voidx(LV<V> v, int d)protected inty(LV<V> v)protected voidy(LV<V> v, int d)
-