2

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.

2

1 Answer 1

1

It was resolved with label_pos=0.2

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.