Class VerticalAlignmentDeprecated<V,E>
- java.lang.Object
-
- org.jungrapht.visualization.layout.algorithms.sugiyama.VerticalAlignment<V,E>
-
- org.jungrapht.visualization.layout.algorithms.eiglsperger.VerticalAlignmentDeprecated<V,E>
-
- Type Parameters:
V-E-
- Direct Known Subclasses:
VerticalAlignmentDeprecated.LeftmostLower,VerticalAlignmentDeprecated.LeftmostUpper,VerticalAlignmentDeprecated.RightmostLower,VerticalAlignmentDeprecated.RightmostUpper
public abstract class VerticalAlignmentDeprecated<V,E> extends VerticalAlignment<V,E>
- 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 classVerticalAlignmentDeprecated.LeftmostLower<V,E>start at last layer, work upwards looking at successor positionsstatic classVerticalAlignmentDeprecated.LeftmostUpper<V,E>start at first layer, work down, looking at predecessorsstatic classVerticalAlignmentDeprecated.RightmostLower<V,E>start at last layer, work up, looking at successorsstatic classVerticalAlignmentDeprecated.RightmostUpper<V,E>
-
Field Summary
-
Fields inherited from class org.jungrapht.visualization.layout.algorithms.sugiyama.VerticalAlignment
alignMap, layers, markedSegments, neighborCache, rootMap, svGraph
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intalignMoveCursor(LV<V> neighbor, LV<V> vertex)protected intalignSegmentVertexMoveCursor(org.jungrapht.visualization.layout.algorithms.eiglsperger.SegmentVertex<V> segmentVertex, LV<V> vertex)protected intidx(LV<V> v)protected intpos(LV<V> v)-
Methods inherited from class org.jungrapht.visualization.layout.algorithms.sugiyama.VerticalAlignment
align, align, align, getAlignMap, getRootMap, notMarked, root, root
-
-
-
-
Method Detail
-
alignMoveCursor
protected int alignMoveCursor(LV<V> neighbor, LV<V> vertex)
- Overrides:
alignMoveCursorin classVerticalAlignment<V,E>
-
alignSegmentVertexMoveCursor
protected int alignSegmentVertexMoveCursor(org.jungrapht.visualization.layout.algorithms.eiglsperger.SegmentVertex<V> segmentVertex, LV<V> vertex)
-
pos
protected int pos(LV<V> v)
- Overrides:
posin classVerticalAlignment<V,E>- Parameters:
v- vertix to get pos for- Returns:
- the pos (not index in rank) of the passed vertex
-
-