uber/react-vis-force

Documentation for Links

raylenmargono opened this issue · 11 comments

Hi,

Would be great to have further documentation on ForceGraphLink. Having trouble figuring out how to set the distance between nodes. Thank you.

+1 the same, I am running into the same issue

Yu-w commented

+1 same here. Wondering how to make graph to spread out more.

+1 same here, i've tried a lot of ways, but all failed

+1 same...it's HELL

+1, wondering if anyone above figured this out?

I haven't found great documentation, but in order to set the length of the links to adjust space between nodes use radiusMargin in simulationOptions.

<InteractiveForceGraph
  simulationOptions = {{
    height: 900,
    width: 1680,
    radiusMargin: 20 //3 is default
  }}
>

Is there anyway to dynamically set link length based on the individual link? For example, some nodes are further apart than others.

Did anyone figure this out?

Xavyr commented

Id like to have this one figured out at well, impossible to do clustering of nodes without dynamically setting link length based on the individual links. Would love any advice on this!

Would also like to know about this. Can't set the link distances