Parse nodes, links, routes and switches