[nivo/network] How to make centeringStrength change per node #2097
Unanswered
cookieinmind
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Similar to how
nodeSize
andlinkThickness
work, is it possible (somehow) to make thecenteringStrength
and/orrepulsivity
a function of the node?If not, is it possible to swap the "
layout
", like how cytoscape works?My goal is to be able to give more space to nodes that have fewer links to other nodes, but that are higher in terms of hierarchy without making them huge
Here, I want the yellow one to be in the middle of the graph and the rest to look like an appendix. In terms of data, the yellow has only one link while orange has hundreds - I don't want that to have such an impact on the layout of the graph
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions