I am struggling to produce a plot that I want to get. I create a networkx graph with a model of mine. To get the hierachical display of nodes I used graph
networkx
graph