almende / vis

⚠️ This project is not maintained anymore! Please go to https://github.com/visjs
7.86k stars 1.48k forks source link

Change edge's origin point #4250

Closed ixjf closed 5 years ago

ixjf commented 5 years ago

I currently have a network with nodes that are pure text, i.e. shape 'text'. Because edges are rendered from the center of the node, I can see the edge behind my text. The simplest way would be to simply move the edge's origin point, but that's not supported in vis.js. Is there any way to do this? I wouldn't mind adding support for this to vis.js, but in that case some guidance on what I would need to change (i.e. what I shouldn't forget to do to add a new option) would be appreciated.