changes for Seqdiag preview