Creating sequence diagram for transcript of records