I need to plot nodes which have two rows. The top row is node name, and the bottom row is a condition. I am currently using the html-style table
tag to achieve this. However, somehow I dislike this way. So, I am wondering if there is a more concise way without using html-style tags to do this. Note that I don't want to change rankdir=TB
to rankdir=LR
.
An example of my current approach, including code and output, is attached below. Thank you in advance.
digraph G {
node [shape=Mrecord]
aNode [ label=<
<table border='0'>
<tr><td bgcolor='gray'>nodeName</td></tr>
<tr><td>condition</td></tr></table>
> ];
}