dotplugin
dotplugin copied to clipboard
HTML-based nodes cause errors
The following simple HTML-based node seems to confuse the parser, as seen in the screenshot below:
digraph {
my_table [
label=<<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0">
<TR><TD COLSPAN="2">Title</TD></TR>
<TR><TD>Left</TD><TD>Right</TD></TR>
</TABLE>>
shape=plain
style=filled
fillcolor=cornsilk
]
}
However, dot
does render it correctly:
The error in the tooltip is DotTokenType.= expected, got '<TR><TD>Left</TD><TD...'
.
I'm using version 1.4.1 of the plugin on IntelliJ IDEA 2022.3.1 (Ultimate Edition), on Mac OS 12.6 (Monterey) with an M1 chip. I'm using the workaround in https://github.com/bzixilu/dotplugin/issues/26#issuecomment-1371529811 to get rendering to work.