RamonMeffert / elm-gossip

A user-friendly web tool for exploring dynamic gossip.
https://r3n.nl/elm-gossip/
GNU General Public License v3.0
3 stars 0 forks source link

Improve Graph Rendering #15

Closed RamonMeffert closed 3 years ago

RamonMeffert commented 3 years ago
RamonMeffert commented 3 years ago

This should also take into account the reworked graph data structure (#28), as currently edges can overlap (I think)

RamonMeffert commented 3 years ago

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

m4lvin commented 3 years ago

Some examples that are currently rendered with overlapping nodes:

RamonMeffert commented 3 years ago

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.

RamonMeffert commented 3 years ago

Should be better now!