How to plot solid and dotted lines Networkx plotly graph

I am working on dash with plotly and networkx graph. And I would like to have a solid line between two nodes when there is ‘/’ symbol. Unless draw a dashed line.

Something below.
image

Is there any way to do this in Plotly Dash, Python?

Any solution is appreciated!!

@kapital1,
To draw a solid line, just set line_width= 3 .
A line has also the attribute dash.
line_dash can be set as ’ dash’, ‘dot’ or ‘dashdot’.

Hi empet, Thanks for paying time to reply. Actually, the challenge is identifying the path which means from 10/10 to 20/20 should be solid and the rest with dot. Then I can use your solution.

I appreciate if you can help on this.