in python, with networkx. I can plot a vertical tree with :
g=nx.balanced_tree(2,4)pos = nx.graphviz_layout(g, prog='dot')nx.draw(g,pos,labels=b_all, node_size=500)plt.show()
similar to
[root]|| |node node
how I can plot a horizontal tree ?
-- node
[root] - -- node