Use kamada_kawai layout in star topology

This commit is contained in:
Marcin Kostrzewski 2022-06-16 22:08:24 +02:00
parent 78e3b287fb
commit 816d1e53bf

View File

@ -188,7 +188,7 @@ def main():
do_graph_animation('ring.gif', ring, 20, nx.circular_layout)
star, star_avg_rank = star_network()
do_graph_animation('star.gif', star, 5, nx.spring_layout)
do_graph_animation('star.gif', star, 5, nx.kamada_kawai_layout)
if __name__ == "__main__":