Nested tables spacing


I am having trouble with borders in nested tables.

I have all cellpadding=0 and cellspacing=0 on all table and td elements. however, I still see multiple borders and the the border lines are not fully overlapping.

I have somewhat fixed this issue by setting all but one of “supposed” overlapping borders to 0.

however, now I have small spaces where borders are not connected and this becomes more apparent when there are multiple nested levels of tables.

what am I missing?


  • what OS are you using (Linux, Windows, macOS)?
  • what version of Graphviz? (output from dot -V)
  • can you provide a source file so we can try to recreate the problem?