edge.setLabelPosition(p); } else { edge.setExtraLabelPosition(currentLabel, p);
location = (Point2D) edge.getLabelPosition().clone(); value = graph.convertValueToString(orig); edge.setLabelPosition(initialLabelLocation); } else { location = (Point2D) edge.getExtraLabelPosition(