add references in seq diagrams. Got a bug in the Defs about default direction. Fixed by commenting the setting.