0x3d
0x3d

Reputation: 470

Networkx Directed Graph Python

I want to draw a directed graph with Python library Networkx, the problem is that when I have a connection from Node1 to Node1, and back from Node2 to Node2, their labels are overwritten.

Is there a method to draw curves from one node to another, or a way to configure labels position?

In screenshot you can see that I have two directed lines but only one label, second label is over first.

Upvotes: 2

Views: 1490

Answers (1)

Back2Basics
Back2Basics

Reputation: 7806

It was resolved with label_pos=0.2

Upvotes: 1

Related Questions