uber/react-vis-force

Arrows are hidden behind large sized nodes

kirill-konshin opened this issue · 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.

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.

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 :)

Was this issue ever solved? I'm stuck