multinet-app / multilink

A node-link visualization built to work with the multinet ecosystem.
https://multinet.app
Apache License 2.0
4 stars 2 forks source link

Add slider for edge distance #92

Closed curtislisle closed 3 years ago

curtislisle commented 4 years ago

It would be great to be able to adjust the overall scaling of edge lengths in the nodelink diagram. This could be accomplished by adding a slider for scaling edge length and possibly also a slider for node repulsion forces. Overall, I want to be able to scale the nodes and the edge distances. Similar to the Vega force directed layout example:

https://vega.github.io/vega/examples/force-directed-layout/

JackWilb commented 4 years ago

There is a function getForceRadii that we can modify to take a param from the UI