-
Notifications
You must be signed in to change notification settings - Fork 12
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
Move node of the graph #7
Comments
I wanted to use the event |
Also I try set event listener on node, but mouseDown / mouseUp not worked for me |
Я не знаю, мой английский понятен или нет, но Вы, вроде, как знаете русский, поэтому проблема в том, что компонент графа находится в некоторой рамке. И при перемещении графа, ему нужно запретить вылезать за его границу. Есть ли способы получать информацию о координатах перемещаемого узла графа? Сам узел определен как некий компонент , в этом компоненте я пытаюсь установить обработчики событий. Но они не срабатывают почему-то (mouseDown/mouseup/mouseMove) |
Hi! Could you clarify, you need to prevent going out of borders when For now component can accept only props stated in Readme, so you can't pass any mouse events to it. |
when dragging whole graph area |
Hello. I want to ask how i can to control move the graph. I mean i want the graph not went beyond the borders. I want to know coordinates the moving node. How can i do it? Thank you
The text was updated successfully, but these errors were encountered: