magjac/graphviz-visual-editor

Label containing newline generates error

magjac opened this issue · 1 comments

The DOT source code below generates Expected "\"" or "\\", but "\n" found..

digraph {
        n1 [label="hello
world"]
}

Did you try using an HTML string:

digraph {
    n1 [label=<hello<BR />world>]
}