react-vis-force icon indicating copy to clipboard operation
react-vis-force copied to clipboard

Arrows are hidden behind large sized nodes

Open kirill-konshin opened this issue 7 years ago • 3 comments

image

In this screenshot it's quite visible that the bigger the node, the more likely it will cover the arrow. Some nodes cover the arrows entirely. Arrows should be re-positioned.

kirill-konshin avatar Jun 01 '17 21:06 kirill-konshin

this would become a performance nightmare pretty quick, because the links would have to be able to correctly search for the target node by id and adjust the offset per node. I'm happy to receive a PR for help on this one.

fastfrwrd avatar Jun 02 '17 14:06 fastfrwrd

Why do you think it will cause performance overhead? You use node's coordinates to draw connections, so you should have access to node's properties, right? If this is true, just move the arrow away from the center of node since radius is known.

I will look into it, but I can't promise a PR at the moment :)

kirill-konshin avatar Jun 02 '17 20:06 kirill-konshin

Was this issue ever solved? I'm stuck

wekesa931 avatar Nov 24 '20 03:11 wekesa931