fix phy -> vir topology mapping; fix topo -> nx.graph mapping