In modeling-examples/food_program/food_supply.ipynb we draw a network with nx.nx_pydot.graphviz_layout which requires an external program called Graphviz to be installed.
We can get essentially the same plot with nx.kamada_kawai_layout which is implemented entirely within the networkx package.
Moving to nx.kamada_kawai_layout will make it easier for automated testing.
In
modeling-examples/food_program/food_supply.ipynb
we draw a network withnx.nx_pydot.graphviz_layout
which requires an external program called Graphviz to be installed.We can get essentially the same plot with
nx.kamada_kawai_layout
which is implemented entirely within the networkx package.Moving to
nx.kamada_kawai_layout
will make it easier for automated testing.