Closed RamonMeffert closed 3 years ago
This should also take into account the reworked graph data structure (#28), as currently edges can overlap (I think)
A possible improvement for this might be to use Graph.update
when a change to the graph is made. I have a feeling this might keep nodes in the same positions. Not sure though
Some examples that are currently rendered with overlapping nodes:
Ab B bCd D dE
(a "double bush")Ab B bC D E F
(some disconnected nodes)A B abC abD abE abF
(some nodes with the same links)The library I'm using to render the graph, elm-visualization, just received a major update. Notably, they've added support for collision detection in force-directed graphs. This will solve this problem! I'll update to this new version when I find some time, hopefully soon.
Should be better now!