ngx-vis icon indicating copy to clipboard operation
ngx-vis copied to clipboard

add getViewPosition() to vis-network.service.ts

Open etnowak opened this issue 2 years ago • 2 comments

Hello,

Are you able to add the getViewPosition() method to vis-network.service.ts? I would like to use this method as there is currently not any method to get the camera coordinates. If possible, the method would return an object that could then be used within the MoveToOptions parameter within the moveTo method.

Let me know if this is possible and if you have any questions.

Thanks in advance

etnowak avatar Sep 01 '22 13:09 etnowak

it would be possible, but actually having not much time to maintain this project currently

hypery2k avatar Oct 06 '22 08:10 hypery2k

Just dropping this here to let you know that exposing this function would help us a lot with another bug that we are trying to adress on our project, namely the case when the user zooms in and then drags a node on top of another. So if you find some time to adress this it would be much appreciated. Thanks!

Mihai-Savin avatar Sep 26 '24 13:09 Mihai-Savin