public int getPreferredLineStyle(EdgeView edge) { if (edge.isLoop()) { return getLoopStyle(); } return getEdgeStyle(); }
public List route(GraphLayoutCache cache, EdgeView edge) { if (edge.isLoop()) { return routeLoop(cache, edge); } return routeEdge(cache, edge); }
if (isLoop()) { for (int i = 1; i < n; i++) { Point2D point = getPoint(i);
if (edge.isLoop()) { Point2D tmp = edge.getPoint(0); Point2D tmp2 = edge.getLabelVector();