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

Click to expand / collapse in VR? #43

Open
edent opened this issue Sep 7, 2022 · 0 comments
Open

Click to expand / collapse in VR? #43

edent opened this issue Sep 7, 2022 · 0 comments

Comments

@edent
Copy link

edent commented Sep 7, 2022

Describe the bug
I'm trying to create a DAG where the nodes expand or collapse when clicked on.

I'm following this demo - https://github.com/vasturiano/3d-force-graph/blob/master/example/expandable-nodes/index.html

Changing the library to

<script src="//unpkg.com/3d-force-graph-vr"></script>

And the graph to

const Graph = ForceGraphVR()(elem)

Allows me to display the initial graph. I can view it in my VR headset, but I can't interact with the nodes.

Clicking on them in a regular browsers produces the error:

Uncaught TypeError: cyclic object value

Is there any way to have interactive nodes in the VR view? 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

1 participant