|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.klay.layered.p5edges.OrthogonalRoutingGenerator.WestToEastRoutingStrategy
public static class OrthogonalRoutingGenerator.WestToEastRoutingStrategy
Routing strategy for routing layers from west to east.
Constructor Summary | |
---|---|
OrthogonalRoutingGenerator.WestToEastRoutingStrategy()
|
Method Summary | |
---|---|
void |
calculateBendPoints(de.cau.cs.kieler.klay.layered.p5edges.OrthogonalRoutingGenerator.HyperNode hyperNode,
double startPos,
double edgeSpacing)
Calculates and assigns bend points for edges incident to the ports belonging to the given hyper edge. |
double |
getPortPositionOnHyperNode(LPort port)
Returns the port's position on a hyper edge axis. |
PortSide |
getSourcePortSide()
Returns the side of ports that should be considered on a source layer. |
PortSide |
getTargetPortSide()
Returns the side of ports that should be considered on a target layer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrthogonalRoutingGenerator.WestToEastRoutingStrategy()
Method Detail |
---|
public double getPortPositionOnHyperNode(LPort port)
getPortPositionOnHyperNode
in interface OrthogonalRoutingGenerator.IRoutingDirectionStrategy
port
- the port.
public PortSide getSourcePortSide()
getSourcePortSide
in interface OrthogonalRoutingGenerator.IRoutingDirectionStrategy
public PortSide getTargetPortSide()
getTargetPortSide
in interface OrthogonalRoutingGenerator.IRoutingDirectionStrategy
public void calculateBendPoints(de.cau.cs.kieler.klay.layered.p5edges.OrthogonalRoutingGenerator.HyperNode hyperNode, double startPos, double edgeSpacing)
calculateBendPoints
in interface OrthogonalRoutingGenerator.IRoutingDirectionStrategy
hyperNode
- the hyper edge.startPos
- the position of the trunk of the first hyper edge between the
layers. This position, together with the current hyper node's
rank allows the calculation of the hyper node's trunk's position.edgeSpacing
- the space between two edges.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |