My dot is:
digraph structs { A [label="mmm" image="https://iconsapi.com/5ee261ede4b0b788a932a2eb.svg" shape=none]; }
The result as follow.
Why the picture don’t show?
My dot is:
digraph structs { A [label="mmm" image="https://iconsapi.com/5ee261ede4b0b788a932a2eb.svg" shape=none]; }
The result as follow.
Why the picture don’t show?
For security reasons, images are seemingly required to be local. See How to handle image hosted on a server with d3-graphviz ( if it's implemented )?
It seem like it. When I download the image locally, it’s no problem
The dot loads svg only if the svg file contains “<?xml…>”:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
When I delete the label it doesn’t work.Web svg have no “<?xm…>” tag. Is that the problem?
If I’m not mistaken, what you are seeing is correct behavior for an XML 1.1 parser. Graphviz relies on libexpat. This is not a feature that we control.
The specification says that a correct XML document must begin with an XML version declaration.
Thank you for your answer.