tags:

views:

78

answers:

1

I'm using a record node in graphviz to make a simple table, but it looks wrong:

   digraph g {
     node [shape = record,height=.08];
     node1[label = "{DBAT|{  0|1|2|3|4|5|6|7}|{8|9|10|11|12|13|14|15}|...|{248|249|250|251|252|253|254|255}}"];
   }

alt text

Is there any way to get the subrecords to line up?

+1  A: 

HTML-formatted nodes will probably make this easier. See http://www.graphviz.org/doc/info/shapes.html#html for details. Tables are supported.

Joe McMahon
ooh, thanks, I'll give it a try!
Jason S