I have the following .dot language file for GraphViz:
digraph {
graph [ dpi = 300 ];
Hello -> World
Hello -> World
Hello -> World
}
Which renders as:
The code is produced programmatically, hence the duplication.
But I don't want the duplicate links i.e. I want it to render as:
Yes, I could add logic to the program that produces the dot file, but if there is a GraphViz parameter to do this it’d be very useful.
Thanks.
Edit: Raising the dead here, but the question of which this is marked as a duplicate has multiple connections between 2 nodes but each with different labels, so not exactly the same, although the suggestion to use the ‘strict’ keyword does work.
Edit: Again voting to reopen, as the question that someone thinks this is a duplicate of is, in fact, a different question. This is about duplicate edges and the other questions isn't. The fact that the same answer works is irrelevant, just as "What is 2+2?" and "what is 3+1?" are different questions, despite having the same answer.