if(getCurrentGraph() instanceof GGraphGroup)
handleKeyPressedInGraphGroup(e);
}
public void handleKeyPressedInGraphGroup(KeyEvent e) {
GPath path = getCurrentPath();
switch(e.getKeyCode()) {
case KeyEvent.VK_RIGHT:
path.nextElement();
pathCurrentElementDidChange();
e.consume();
break;
case KeyEvent.VK_LEFT:
path.previousElement();
pathCurrentElementDidChange();
e.consume();
break;
case KeyEvent.VK_UP:
path.lastElement();
pathCurrentElementDidChange();
e.consume();
break;
case KeyEvent.VK_DOWN:
path.firstElement();
pathCurrentElementDidChange();
e.consume();
break;
case KeyEvent.VK_A: