code for generating sequence diagrams.