graphia-app / graphia

A visualisation tool for the creation and analysis of graphs
https://graphia.app
233 stars 20 forks source link

Per-edge force layout weight #63

Open bgamari opened 1 year ago

bgamari commented 1 year ago

It would be useful to be able to guide the force layout engine to emphasize some edges over others. For instance, one might imagine being able to use a edge attribute as the edge's spring constant and natural length. Another, simpler (but less expressive) approach would be to allow the edge's energy contribution to be scaled by an edge attribute.