I'm using the Python graphviz library and my nodes are formatted with HTML.
My python code generates this node:
MyNode [label=<{Topic|<b>SubHeader</b>|field1: int<BR/>fields: dict<BR/>}>]
I want to left align the text on the last (fields) section.
How do I add alignment instructions only for the last section?
Graphviz supports adding \l
as a justification escape code, but it does not seem to work for HTML formatted nodes.
Similarly, I cannot figure out how to add <p>
tags to the HTML code.
3 versions, 2 using html-like records:
giving:
