dash14 / v-network-graph

An interactive network graph visualization component for Vue 3
https://dash14.github.io/v-network-graph/
MIT License
485 stars 44 forks source link

Error in creating graph #61

Closed Harshpanday closed 2 years ago

Harshpanday commented 2 years ago

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 commented 2 years ago

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