@Override
public void updateNodesXYPosition()
{
for (GUINode vertex : canvas.getAllVertices())
{
<BUG>GUINode guiNode = (GUINode)  vertex;
canvas.getLayout().setLocation(guiNode, canvas.getTransformer().transform(guiNode));
</BUG>
}
}

@Override
public void panTo(Point2D initialPoint, Point2D currentPoint)
{
final Point2D q = canvas.getCanvasPointFromScreenPoint(initialPoint);
final Point2D lvc = canvas.getCanvasPointFromScreenPoint(currentPoint);
final double dxJungCoord = (lvc.getX() - q.getX());
final double dyJungCoord = (lvc.getY() - q.getY());
canvas.moveCanvasTo(new Point2D.Double(dxJungCoord, dyJungCoord));
}
