abs221
Re:D3-dag – Layout algorithms for visualizing directed acylic graphs
on Sunday September 09, 2018 @07:45PM (#17948413)
Most humans can't make much sense of anything more than 50-100 node graph at a time. At a graph size of containing 50-100 nodes or lesser which is a rather small graph, huge variety of graph algorithms are not very helpful.
These libraries are good to experiment with each layout algorithm but ultimately a graph analysis most of the time involves exploration and querying, like a repl and making sense of that. Most frontend js libraries will not be helpful in doing that.
It's a surprise that there is no robust backend library that does graph layout.
Re:D3-dag – Layout algorithms for visualizing directed acylic graphs
on Sunday September 09, 2018 @03:53PM (#17947436)
All these graph layout algorithms should ideally be run on the backend. Most of these js libraries are missing the point in trying to run layout in Javascript on the frontend. If you have a huge graph, you can't view all of it at once anyways and you're viewing a subset of it any 1 moment.
So the ideal library should be running the layout on the backend and the frontend should be plain dummy, simply showing each graph node at the position co-ordinate sent from the back-end.