networkx - Graphviz set positions to start from (0,0) and increment ny 1 unit? - Stack Overflow

I have a graphviz graph generated and I am using networkx to read that graph and assign them position v

I have a graphviz graph generated and I am using networkx to read that graph and assign them position values i.e nx.nx_pydot. The thing is the node values are very random like (1854,234) and so on. Is there any way i can get them to scale to to start from (0,0), (0,1) and so on?

original_pos=nx.nx_pydot.pydot_layout(graph,prog='dot')

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745620902a4636509.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信