Ahmet Tuğrul Bayrak
Ahmet Tuğrul Bayrak

Reputation: 3796

changing node shape in NetworkX

I need nodes in different shapes in NetworkX, some rectangle and triangle nodes. Does anybody know if it is possible?

Upvotes: 4

Views: 2065

Answers (1)

Ahmet Tuğrul Bayrak
Ahmet Tuğrul Bayrak

Reputation: 3796

Found it, there is a property node_shape that allows changing shape.

Upvotes: 4

Related Questions