public abstract class BendCalculator
extends java.lang.Object
Constructor and Description |
---|
BendCalculator(HierarchicalLayoutContext context) |
Modifier and Type | Method and Description |
---|---|
protected java.awt.geom.Point2D |
calculatePort(float offset,
float x,
float y,
LayoutOrientation orientation) |
abstract void |
createBends(prefuse.data.Edge e,
int layerDifference,
java.util.List<prefuse.data.Node> dummies) |
HierarchicalLayoutContext |
getContext() |
protected float |
getX(prefuse.data.Node n) |
protected float |
getY(prefuse.data.Node n) |
public BendCalculator(HierarchicalLayoutContext context)
public abstract void createBends(prefuse.data.Edge e, int layerDifference, java.util.List<prefuse.data.Node> dummies)
protected java.awt.geom.Point2D calculatePort(float offset, float x, float y, LayoutOrientation orientation)
protected float getX(prefuse.data.Node n)
protected float getY(prefuse.data.Node n)
public HierarchicalLayoutContext getContext()