Use an object shape to indicate action parameters. Write act in the top left to indicate it is an activity diagram, followed by the activity name, and the activity parameters or preconditions in curly brackets. Alternatively, use a large rectangle with rounded corners. Surround your entire activity diagram with the Diagram shape from the UML 2.5 shape library. You can also use outgoing or incoming (flag) signal shapes to show that notifications are passed to or received by other actions. Use a flag shape from the the UML 2.5 shape library to indicate an interrupt signal or condition and place it inside the interruptible region. Two small circles with matching letters may be used to continue a flow over a long distance to avoid overlapping connectors or clutter in your activity diagram. The following activity diagram example details the action steps and flow of control to process a customer’s order.Īctivity diagram for processing a customer’s order - open this in our diagram viewe Advanced activity diagram symbols Alternatively, write the colon before the action name and the condition in square brackets on the connector. Guard statement: rectangle with the condition preceded by a colon. These may be labelled with the or that must be true for the flow to proceed. Alternatively, use the straight connector with an interrupting zig-zag shape from the UML 2.5 shape library.ĭecision: diamond with one or more connectors coming out. Interrupt flow: a zig-zag connector coming out of the interruptible activity region. Merge: diamond with multiple connectors coming in and a single connector going out. Join or synchronise: solid thin rectangle with one or more connectors coming in and a single connector going out. Object flow: (optional) dashed connector arrow.įork: solid thin rectangle with one connector coming in and two or more connectors going out. Move this shape to the back via the Arrange tab in the format panel. This region surrounds actions that are allowed or able to be interrupted. Interruptible activity region: large rectangle with rounded corners and a dashed outline. Note: comment shape - a rectangle with a folded corner. Object: rectangle with square corners, to hand an object to another action. Finally, drag connectors between the shapes - you can connect to shapes in other lanes.Īction: rectangle with rounded corners, may link to detailed sub-activity diagrams on another page within the same diagram.Hold down Alt or Option as you drop to overlap the shape without adding it to the lane.If you move that swimlane to another position or resize it, the shapes it contains will move with it. Drop a shape into a swimlane when the outline is purple to add it to the lane.These are called partitions in the UML standard. Swimlanes: container shapes with multiple collapsible lanes, vertical or horizontal, from the Advanced shape library. Shapes used in UML activity diagrams - open this reference in our diagram viewer The shapes used to draw activity diagrams are similar to those use to draw simple flowcharts. Click Insert to add the template to the drawing canvas.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |