dash14 / v-network-graph

An interactive network graph visualization component for Vue 3

Home Page:https://dash14.github.io/v-network-graph/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to add images when we use position nodes with d3 force?

PavankalyanPayyavula opened this issue · comments

I am using v-network-graph with javascript,
Is it possible to add images when we use position nodes with a d3 force?
I am using Webpack5 and Vue3 and node version 12.18.0

Hi @PavankalyanPayyavula,
Yes, I think it is possible to combine the display of images and positioning by d3-force.
And, although each example is in TypeScript, it is also possible to write it in JavaScript without writing the type.

Examples:
https://dash14.github.io/v-network-graph/examples/appearance.html#custom-node
https://dash14.github.io/v-network-graph/examples/layout.html#position-nodes-with-d3-force

Please ask again if there are any further specifics that are unclear or do not work hereafter.

I close this issue for now.
If you have any question/comment, please reopen this issue.