main, routing: gridSpacing 0 deactivates snapNodes