public abstract class AbstractLayoutAlgorithm extends Object implements LayoutAlgorithm, LayoutConstants
ELBOW_ROOM, LAYOUT_HEIGHT, LAYOUT_WIDTH, SPRING_FORCE_MULTIPLIER, SPRING_LAYOUT_REPULSION
Constructor and Description |
---|
AbstractLayoutAlgorithm() |
Modifier and Type | Method and Description |
---|---|
protected static org.apache.commons.collections15.Transformer<VertexRef,Point2D> |
initializer(Layout graphLayout) |
protected static org.apache.commons.collections15.Transformer<VertexRef,Point2D> |
initializer(Layout graphLayout,
int xOffset,
int yOffset) |
protected static Dimension |
selectLayoutSize(GraphContainer g) |
abstract void |
updateLayout(GraphContainer graph) |
public abstract void updateLayout(GraphContainer graph)
updateLayout
in interface LayoutAlgorithm
protected static Dimension selectLayoutSize(GraphContainer g)
protected static org.apache.commons.collections15.Transformer<VertexRef,Point2D> initializer(Layout graphLayout)
Copyright © 2016. All rights reserved.