// after positioning is complete.
if (positionX + 1 < initialX) {
contextTranslation = initialX - positionX;
}
} else if (cellType == 1 && cell.isEdge()) {
JGraphHierarchyEdge edge = (JGraphHierarchyEdge) cell;
// For parallel edges we need to seperate out the points
// a
// little
Iterator parallelEdges = edge.edges.iterator();
double offsetX = 0.0;
// Only set the edge control points once
if (edge.temp[0] != 101207) {
while (parallelEdges.hasNext()) {
Object realEdge = parallelEdges.next();
List oldPoints = facade.getPoints(realEdge);
List newPoints = new ArrayList(
(edge.x.length) + 2);
newPoints.add(oldPoints.get(0));
if (edge.isReversed()) {
// Reversed edges need the points inserted
// in
// reverse order
for (int j = 0; j < edge.x.length; j++) {
double positionX = edge.x[j] + offsetX