Hi all. <br>I use pydot for drawing nework link.<br>the code is at bottom of mail.<br>i have a png like this attached<br>If you look png you can see that <a href="http://10.0.0.1">10.0.0.1</a> and <a href="http://10.0.0.2">
10.0.0.2</a> are linked by 2 arrow, one from 1 to 2, one form 2 to 1. <br>Is possible to draw only one line with both arrow?<br>I would have a result like in route2.png but i don't know how!!!<br>Help me!!!<br><span style="font-family: courier new,monospace;">
<br>#---------------------------------------<br>#code<br>#---------------------------------------<br>import pydot</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
edges=[("<a href="http://10.0.0.1">10.0.0.1</a>","<a href="http://10.0.0.2">10.0.0.2</a>"), ("<a href="http://10.0.0.2">10.0.0.2</a>","<a href="http://10.0.0.1">10.0.0.1</a>"),("
<a href="http://10.0.0.2">10.0.0.2</a>","<a href="http://10.0.0.7">10.0.0.7</a>"),("<a href="http://10.0.0.2">10.0.0.2</a>","<a href="http://10.0.0.9">10.0.0.9</a>"),("<a href="http://10.0.0.2">
10.0.0.2</a>","<a href="http://10.0.0.6">10.0.0.6</a>"),("<a href="http://10.0.0.9">10.0.0.9</a>","<a href="http://10.0.0.8">10.0.0.8</a>"),("<a href="http://10.0.0.6">10.0.0.6</a>","
<a href="http://10.0.0.7">10.0.0.7</a>") ]</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">g=pydot.graph_from_edges(edges,directed=True)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">g.write_png('route.png')</span><br><br><br clear="all"><br>-- <br>Sbaush