QCanvasEllipse::moveBy(dx, dy);
if (myInEdge) myInEdge->setFromPoint((int)x(), (int)y());
if (myOutEdge) myOutEdge->setToPoint((int)x(), (int)y());
+ //resize canvas view if mouse is outside
+ int w = (int)(x()+dx) + width() + GRAPH_MARGIN;
+ int h = (int)(y()+dy) + height() + GRAPH_MARGIN;
+ if (canvas()->width() > w) w = canvas()->width();
+ if (canvas()->height() > h) h = canvas()->height();
+ if (canvas()->width() < w || canvas()->height() < h) canvas()->resize(w, h);
if (myIndex > 0 && isMoving()) {
myLink->getEngine()->ChangeCoord(myIndex, (int)x(), (int)y());
}