Hi,
I need help figuring out whether xdot can be used as an input format for dot.
If I provide dot with an expression in the xdot language, i.e., provide extended attributes like _draw_
and _ldraw_
, it seem that the dot program ignores these attributes.
For example, the _ldraw_
attribute is ignored in the following invocation:
echo 'digraph {
a [_ldraw_="F 14 11 -Times-Roman c 7 -#000000 T 27 12.95 0 20.25 3 -xxx "]
}' | dot -Tpng
The attribute describes drawing a label with text “xxx”, but the resulting drawing will have a label of “a”.
So it looks like these attributes are “read-only”. I assume because the can be fully controlled by already existing attributes. Is this true? That there would be no need to allow you to write these attributes?
Background
I was exploring splitting the layout and rendering parts of drawing graphs using dot, I wanted to first obtain the output of the layout engine and then feed it back to the rendering engine, to better understand what was going on and to see where I could gain additional control over the output.
Curious to hear what people think.