Sequence Diagram Designing Tutorial - bounswe/bounswe2019group2 GitHub Wiki
This is a short tutorial on easily creating sequence diagrams.
sequencediagram.org has an easy to use structure for diagram creation.
You should basically type simple commands to build your diagram. Commands are shown in the diagram in the order. you type them.
Simple commands you may need for a basic sequence diagram:
- title X : Makes the title "X".
- activate X: Activates lifetime of an entity(in this case X). Should use "deactivate" to end its lifetime.
- X->Y:message : Draws a simple line from X to Y to depict a message.
- X-->Y:message: Draws dashed lines from X to Y to show the message.
alt case1 commandselse case2 commandsend: This is a fragment structure, in order to depict conditional structures.- Comments: use # in the beginning of the line. That's all we may need for building the sequence diagrams of our UML design!
Short example:
