@Override
public boolean evaluate(Graph<RectangleWithRef<?,?>, ?> graph)
{
Layout<RectangleWithRef<?,?>, Object> layout = new FRLayout2(graph);
layout.setSize(new Dimension(500, 500));
layout.initialize();
for (RectangleWithRef<?,?> vertex : graph.getVertices())
{
Point2D point = layout.transform(vertex);
vertex.setCenter(point.getX(), point.getY());
}
return true;