Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
etnowak opened this issue Sep 1, 2022 · 2 comments
Open

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

etnowak opened this issue Sep 1, 2022 · 2 comments

Comments

@etnowak
Copy link

etnowak commented Sep 1, 2022

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

@hypery2k
Copy link
Collaborator

hypery2k commented Oct 6, 2022

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

@Mihai-Savin
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants