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

Error in creating graph #61

Closed
Harshpanday opened this issue May 19, 2022 · 1 comment
Closed

Error in creating graph #61

Harshpanday opened this issue May 19, 2022 · 1 comment

Comments

@Harshpanday
Copy link

Harshpanday commented May 19, 2022

Hey everyone,
I am pretty new to Vue and v-network-graphs
I am working in a vue project with main.js.
I am trying to create the basic graph (https://dash14.github.io/v-network-graph/examples/basic.html) on one of my pages.
I wrote the same code as given in the tutorial (just changed setup lang=js) but I am getting the following error:

In the console, I am getting Edges were accessed during render but are not defined, same for nodes.

I tried importing the above thing but I am getting the same error.
I will be very grateful if someone can help me out here.

@Harshpanday
Copy link
Author

Never Mind, I switched to Typescript, and it's working fine.

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