Cleanup some code around node restriction/movement
implement node label orientation + position switching when on the edge of the screen