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

Add support for displaying images inside nodes #194

Open
yuruotong1 opened this issue Feb 12, 2022 · 2 comments
Open

Add support for displaying images inside nodes #194

yuruotong1 opened this issue Feb 12, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@yuruotong1
Copy link

My dot is:

digraph structs { A [label="mmm" image="https://iconsapi.com/5ee261ede4b0b788a932a2eb.svg" shape=none]; }

The result as follow.

image

I don't think it's right

@magjac
Copy link
Owner

magjac commented Apr 6, 2022

Sorry for the delay. This is a known limitation. I haven't figured out how create a good user interface to support this, given that images needs to be explicitly added using the underlying library [d3-graphviz addImage())(https://github.com/magjac/d3-graphviz#images) method.

@magjac magjac added the enhancement New feature or request label Apr 6, 2022
@magjac magjac changed the title Don't show image from network Add support for show image from network Apr 6, 2022
@magjac magjac changed the title Add support for show image from network Add support for displaying images inside node Apr 6, 2022
@magjac
Copy link
Owner

magjac commented Apr 6, 2022

I took the liberty to rephrase the summary of this issue to reflect that it's an enhancement proposal.

@magjac magjac changed the title Add support for displaying images inside node Add support for displaying images inside nodes Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants