I\'m trying to use graphviz (the dot
command-line tool, to be more specific) to generate a SVG layout of a graph. I would like to use my Inkscape-generated SVG file
graphviz only supports SVG input where the width
and height
attributes are set on using absolute units (pixels, inches etc.). Inkscape outputs
height="100%" width="100%" viewBox="0 0 width_in_pixels height_in_pixels"
as attributes on the element.
I filed a bug report, and a graphviz developer pointed me to the help for the image attribute, which describes the requirements for using SVG in custom node shapes.