avoiding complete edge overlap

Hi, I have looked at the documentation but could not find a way to instruct dot to avoid edge overlaps. I am aware that this is a difficult thing to do in general, but it seems it should be solvable in my case. You can see that in the graph pasted below, and run through dot, the two edges between nodes in clusters labeled "integartor" overlap completely. I can avoid this using ports but I need to regenerate this and similar graphs many times and in general I do not know the layout in advance... Thanks everyone for your time and help! Stefano (I could not upload a picture of the graph, I get a "File could not be moved" error...) digraph network { graph [rankdir=LR,ranksep=1.5,fontname=Helvetica,fontsize=12,nodesep=.75] node [shape=circle, fontname=Helvetica,fontsize=12] edge [fontname=Helvetica,fontsize=12] spread [label="\N \nw: 0 1 2 3 4 5 6 7 8 9 -1 -1 -1 -1 -1 -1 \nn: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 1 2 3 4 5 ", shape=none] subgraph cluster_0 { color=grey label="n0 1 0\nlight_sensor" n0_0 [label="0"] } subgraph cluster_1 { color=grey label="n1 1 1\nintegrator 5 0.2" n1_0 [label="0"] } subgraph cluster_2 { color=grey label="n2 1 1\nintegrator 5 0.2" n2_0 [label="0"] } subgraph cluster_3 { color=grey label="n3 1 1\nmetabolism 0.01" n3_0 [label="0"] } subgraph cluster_4 { color=grey label="n4 1 0\nsigmoid 0.5 1" n4_0 [label="0"] } subgraph cluster_5 { color=grey label="n5 1 0\ntonic 1" n5_0 [label="0"] } n0_0 -> n1_0 [color="0 0.149838 1" label="0.194789"] n0_0 -> n2_0 [color="0 0.769231 1" label="1"] n1_0 -> n2_0 [color="0.66 0.960833 1" label="-1.24908"] n2_0 -> n1_0 [color="0.66 0.959843 1" label="-1.2478"] n3_0 -> n2_0 [color="0 0.797197 1" label="1.03636"] n1_0 -> n4_0 [color="0 0.745273 1" label="0.968855"] n2_0 -> n4_0 [color="0.66 0.765194 1" label="-0.994752"] n5_0 -> n1_0 [color="0 1.000000 1" label="1.3"] n0_0 -> n3_0 [color="0 0.792198 1" label="1.02986"] }

Recent comments