Is it possible to include images inside nodes of a DOT-language Graph?
I would like to include images (not only text) inside the nodes of开发者_开发知识库 a DOT-language graph. Is it possible? I didn't find any example concerning it.
Thanks.
(Assuming you can use Graphviz for your needs)
Reading from the Graphviz documentation:
image
Gives the name of a file containing an image to be displayed inside a node. The image file must be in one of the recognized formats, typically JPEG, PNG, GIF or Postscript, and be able to be converted into the desired output format. Unlike with the shapefile attribute, the image is treated as node content rather than the entire node. In particular, an image can be contained in a node of any shape, not just a rectangle.
精彩评论