Harsh Shah
Harsh Shah

Reputation: 1

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

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')

Upvotes: 0

Views: 31

Answers (0)

Related Questions