Data URI

Is it possible to use the [image] tag to embed a data URI string?
i.e. (should display a red dot image)

digraph G {
A -> B [label="test 1"];
B [label="foo"];

dot -o simple.svg -Tsvg

Warning: No such file or directory while opening data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==
Warning: No or improper image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" for node "A"
The resulting graph is displayed without the image in node A .
Would you have any idea how to fix this?


Data URI

Inline images are not currently supported, only images stored in files. It is a reasonable feature request and probably wouldn't be that hard to implement.

Data URI

Thanks I've just filed the feature request... 

Recent comments