How to prevent edge overlap
See original GitHub issueAs much as I like mermaid - it often really handles edges in an erradic way. Often I have to go through try and error to find a configuration, where the edges don’t overlap. Maybe I am too dumb but I could not yet make heads or tails for what logic mermaid uses to layout graphs. Below is an example. Mermaid does a fine job except for overlapping edges (which I almost never want).
graph TD
linkStyle default interpolate basis
dpc[DataPipeline Controller]
pbc[Protobuf Controller]
psc[Pseudonymization Controller]
dpr((DataPipeline Resource))
prrr((ProtobufPublic Resource))
psr((Pseudonymization Resource))
preg(Protobuf Registry)
prbind(Protobuf Bindings)
pinst(Pseudonymization Service)
psc-->|spawns|pinst
psc-->|reads|psr
pbc-->|reads|prrr
pbc-->|spawns|preg
pbc-->|generates|prbind
dpc-.->|creates|psr
dpc-.->|creates|prrr
dpc-->|reads|dpr
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
How to avoid edge overlap · Issue #441 · eclipse/elk - GitHub
I have a diagram, I need the edge must be ORTHOGONAL, and not overlap, I don't care the direction of the edge.
Read more >neato: avoid edge overlaps (#1369) · Issues - graphviz - GitLab
Using neato with fixed positions, is there a chance to avoid overlaps as you can see from edge from 1 to 7, although...
Read more >Prevent edge overlap - Nevron Software
Hi, I am trying to create a directed graph with 2 links between a source and a target. I am using a NDynamic...
Read more >Eliminating Edge Overlap - Gephi forums
Hi Dru, The over crossing of edges is impossible to avoid as soon as you have more than a couple of nodes -...
Read more >overlap - Graphviz
If overlap="compress" , the layout will be scaled down as much as possible without introducing any overlaps, obviously assuming there are none ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If we render using dagre + graphlib but not dagre-js we could expose more options layout to the synax. (https://github.com/dagrejs/dagre/wiki) Like ranker and align for instance.
After discussion we have determined that this will be closed as “wont fix” at this time, due to the fact that the underlying libraries currently used do not support this