Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Applying physics to individual edges or applying different physics to each edge #287

Open
tomsalmonza opened this issue Jun 13, 2024 · 0 comments

Comments

@tomsalmonza
Copy link

Hello.

I am trying to visualize a IP Network which uses OSPF Metrics in its IGP.
I would like the length of edges between nodes to be representative of the IGP ospf metric. I.e. a "longer" path should look longer.

This could be achieved by being able to assign physics springLength to each edge. Currently I can only see how to apply the springlength to the network as a whole using:

const options = {
"physics": {
"barnesHut": {
"springLength": 160,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant