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

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

Closed
PavankalyanPayyavula opened this issue Apr 18, 2023 · 2 comments

Comments

@PavankalyanPayyavula
Copy link

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

@dash14
Copy link
Owner

dash14 commented Apr 18, 2023

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.

@dash14
Copy link
Owner

dash14 commented May 28, 2023

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

@dash14 dash14 closed this as completed May 28, 2023
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

2 participants