map routes and connections with nodes