ngx-vis
ngx-vis copied to clipboard
add getViewPosition() to vis-network.service.ts
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
it would be possible, but actually having not much time to maintain this project currently
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!