Investigate on moving arrow drawing to individual rows
This might improve performance and code as we don't need to translate the coordinates of the row to the diagram itself.
The hard thing about this is getting the padding-right as, unlike the diagram which starts on the 0 x-axis, the row may start on the X x-axis, where X is the padding.
Edited by Dave Patrick