almende / vis

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

[Network] Push nodes out of a bounding box #4248

Open Minoli opened 5 years ago

Minoli commented 5 years ago

Hi,

I'm trying to draw a diagram as shown in the below image. The bounding octagon is drawn considering the node points of a group (yellow nodes) in renderEvent afterDrawing.

screenshot

I want to push all the spuare nodes outside the bounding octagon (eg. node 13) . Please let me know if there is a way to do this. Thanks