magjac / graphviz-visual-editor

A web application for interactive visual editing of Graphviz graphs described in the DOT language.

Home Page:http://magjac.com/graphviz-visual-editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for displaying images inside nodes

yuruotong1 opened this issue · 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

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.

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