emiliorizzo/vue-d3-network

support for Vue 3.0

cricketthomas opened this issue · 6 comments

This is a great visualization with a ton of nice features. As Vue 3.0 is in beta, I am wondering if there are plans to upgrade the lib to vue 2.6.11+ and eventually Vue 3.0. After some testing, it doesn’t seem to work with Vue 3, https://jsfiddle.net/3oknz02v/1/show citing this error:

Cannot convert undefined or null to object
        at hasOwnProperty (<anonymous>)
        at Object.get (vue.global.js:10086)
        at Proxy.updateOptions (vue-d3-network.vue:227)
        at Proxy.created (vue-d3-network.vue:137)
        at callSyncHook (vue.global.js:9921)
        at applyOptions (vue.global.js:9873)
        at finishComponentSetup (vue.global.js:10467)
        at setupStatefulComponent (vue.global.js:10395)
        at setupComponent (vue.global.js:10335)
        at mountComponent (vue.global.js:8119)

I’ve been trying to upgrade the library but I can’t exactly pinpoint where this is occurring and it doesn’t appear that any of Vue 3’s breaking changes are present in this library. Do you think this is a vue 3 bug?

Same problem

Is d3-network compatible with Vue3? I am getting errors..

same error here, no way to fix it.

Any updates on this?

Any plans for Vue 3 support?

If you arrived here, an alternative is package for vue 3 is: https://github.com/dash14/v-network-graph