3536373839404142434445
layout.initialize(); for (RectangleWithRef<?,?> vertex : graph.getVertices()) { Point2D point = layout.transform(vertex); vertex.setCenter(point.getX(), point.getY()); } return true;