Hi,
I've noticed that the stylesheet attribute doesn't seem to work with the extension. If I have the following 2 files:
dotty_style.css:
example.dot:
digraph {
stylesheet="dotty_style.css"
hello [class=vegan]
}
If I place the two files in the same directory and run dotty from the command line as follows:
dot -Tsvg example.dot -o example.svg && open example.svg
I will see green text (which is expected - that means the CSS style was applied to the hello node). However, if I open the same .dot file with this extension, the text remains black.
At first I thought maybe it was a cwd problem so I tried providing the same path in a few different ways, but it doesn't seem to help.
Is this a bug? Or was it intentionally disabled?
Anyway, thanks for the extension!
Hi,
I've noticed that the
stylesheetattribute doesn't seem to work with the extension. If I have the following 2 files:dotty_style.css:example.dot:If I place the two files in the same directory and run dotty from the command line as follows:
dot -Tsvg example.dot -o example.svg && open example.svgI will see green text (which is expected - that means the CSS style was applied to the
hellonode). However, if I open the same.dotfile with this extension, the text remains black.At first I thought maybe it was a cwd problem so I tried providing the same path in a few different ways, but it doesn't seem to help.
Is this a bug? Or was it intentionally disabled?
Anyway, thanks for the extension!