graphviz-visual-editor icon indicating copy to clipboard operation
graphviz-visual-editor copied to clipboard

Add support for displaying images inside nodes

Open yuruotong1 opened this issue 2 years ago • 2 comments

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

yuruotong1 avatar Feb 12 '22 02:02 yuruotong1

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 avatar Apr 06 '22 21:04 magjac

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

magjac avatar Apr 06 '22 21:04 magjac