I need to add a link between two edges using dot. What I need to add to the graph is the red link labeled "b" between the two edges showed in picture.
The source code is the following:
digraph {
a -> b;
a -> c;
}

I need to add a link between two edges using dot. What I need to add to the graph is the red link labeled "b" between the two edges showed in picture.
The source code is the following:
digraph {
a -> b;
a -> c;
}

Today I had the same problem and solved it with a small hack:
digraph { fakeAB [label="", shape=point, width=0.01, height=0.01]; fakeAC [label="", shape=point, width=0.01, height=0.01]; { rank=same; "b"; "c"; } { rank=same; fakeAB; fakeAC; } "a" -> fakeAB [arrowhead=none]; "a" -> fakeAC [arrowhead=none]; fakeAB -> "b"; fakeAC -> "c"; fakeAB -> fakeAC [label="b", color="red", arrowhead=none]; }The result: