Generate dungeon graph, showing tree connections as well as loop connections.