improve diagram rendering

Size and positioning look much better right now.

Change-Id: I3422087967af1231e9e9fbaf87f1c7c2db25958a