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

onNodeClick work error #659

Open
fengyunyang opened this issue Dec 9, 2023 · 0 comments
Open

onNodeClick work error #659

fengyunyang opened this issue Dec 9, 2023 · 0 comments

Comments

@fengyunyang
Copy link

I now have a vue page, page structure.

<div style=" transform: scale(0.66667, 0.66667) translate(0%, 0%);"><div ref='3d-force-graph'></div></div>

Now the div where ref is 3d-force-graph is a diagram rendered with 3d-force-graph.
Now because the outer div has been added with transform style, the coordinates of the diagram are misplaced. When the onNodeClick event of 3d-froce-graph is triggered, the node is selected incorrectly.

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

1 participant