Tool to generate network topology