What's a good workflow (usage procedure) for creating a UML Sequence diagram in Dia?
Dia is a drawing program that can be used to create diagrams. Dia includes a variety of basic tools like lines and boxes and can load “sheets” – collections of tools that are used in a specific type of diagram. Most diagram objects have handles to which lines can be connected to form graph structures.
A sequence diagram is a Unified Modeling Language (UML) diagram that illustrates the sequence of messages between objects in an interaction. A sequence diagram consists of a group of objects that are represented by lifelines, and the messages that they exchange over time during the interaction.
Just navigate to the UML Sequence shape library, and click “Use Markup.” A text pad will open, where you can type out the order of your sequence and its rules. When you're ready, click “Build” and click back out into the editor to see your new automatically generated sequence diagram.
From the UML Sheet of Special Objects (left toolbar, center palette, use drop-down to select "UML"), select the UML Object object, , and then place an object in your diagram.
Next, from the same UML Sheet, select the lifeline object, , and place it in your diagram. Then connect the lifeline's uppermost line handle to the UML Object placed in the last step.
Use the UML Message object, , to connect one lifeline to another.
Right-click on the lifeline to adjust the lifetime of the object, or to add or remove connection points.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With