1. small refactoring
2. dragging router with hidden nodes moves them in direction of the same transition vector