Using the Sequence Diagram in Innoslate®

Using the Sequence Diagram in Innoslate®
This document discusses how to use the Sequence Diagram in Innoslate.
Contents
Introduction ................................................................................................................................................................2
Adding a Lifeline .........................................................................................................................................................2
Adding a New Lifeline (Asset) .................................................................................................................................2
Adding a Message.......................................................................................................................................................3
Adding a New Message (Input/Output) between Lifelines ....................................................................................3
Adding a New Found Message between Lifelines ..................................................................................................3
Action Diagram Representation .................................................................................................................................4
By Sequence Mode (Default)..................................................................................................................................4
By Parallel (Advanced, Experimental) ....................................................................................................................4
IDEF0 Representation (By Number Mode) .............................................................................................................4
Model Representation................................................................................................................................................4
Using the Sequence Diagram in Innoslate 1
Introduction
The sequence diagram is used to represent the sequential message flow (Input/Outputs) between Lifelines
(Assets). The diagram is represented in standard SysML and LML notation and is bidirectionally compatible with
the action diagram (modifications in the action diagram automatically change the sequence diagram and
modifications in the sequence diagram automatically change the action diagram). To create a new sequence
diagram:
1.
2.
3.
4.
5.
6.
Click “Database”
Click “New Entity”
Select “Action”
Name the Action entity
Click “Diagrams”
Select “Sequence Diagram”
Adding a Lifeline
An Asset entity is used to represent a Lifeline. Innoslate includes labels to type the Asset as a Personnel, System,
Subsystem, Service, Facility, and/or custom label added in the Schema Editor.
Adding a New Lifeline (Asset)
Drag the Lifeline icon from the left sidebar to the diagram canvas. The Lifeline will automatically snap to
position. Once dropped the sidebar for the Lifeline will appear. The name field is auto-focused for convenience.
Lifelines are ordered by their number.
Using the Sequence Diagram in Innoslate 2
Adding a Message
Adding a New Message (Input/Output) between Lifelines
Messages are used to represent trigger events between two Lifelines. To create a new Message:
1.
2.
3.
4.
Select the source Lifeline
Click and drag the green circle to the destination lifeline at the desired position
Drop the Message shape
Name the Message (The name field is automatically focused in the sidebar for convenience)
Adding a New Found Message between Lifelines
Messages that have no source Lifeline are called found Messages. To create a new found message:
1.
2.
3.
4.
Select the “New” tab in the sidebar (if not already selected)
Drag the Found Message to the destination Lifeline (Asset)
Drop the Message shape
Name the Message (The name field is automatically focused in the sidebar for convenience)
Using the Sequence Diagram in Innoslate 3
Action Diagram Representation
The sequence diagram and action diagram are bidirectional. Edits made within the sequence and action diagram
affect each other to insure system accuracy and correctness.
New Messages added from the sequence diagram add a new source action, target action, and Input/Output to
the Action Diagram in the correct functional position.
There are two sequence diagram modes which are compatible with the Action Diagram.
By Sequence Mode (Default)
By Sequence mode is the simplest mode for the Sequence Diagram to Action Diagram mapping. This produces a
purely serial functional flow representation of the Sequence Diagram.
By Parallel (Advanced, Experimental)
By Parallel mode will automatically add a parallel branch for each Lifeline (Asset) added to the sequence
diagram. The Actions of each Lifeline are automatically added to the correct branch when adding Messages
(Input/Outputs) in the Sequence Diagram.
IDEF0 Representation (By Number Mode)
IDEF0 diagrams do not specify a control flow or order of functional (Action) execution, In order to maximize
engineer productivity the sequence diagram supports a "By Number" mode which will use a Message's
(Input/Output) number to specify the ordering.
This "By Number" mode is automatically recommended when an IDEF0 diagram with two-way messages is
detected.
Model Representation
The sequence diagram automatically produces entities, adds the appropriate relationships, and sets needed
schema attributes for you. A parent Action is decomposed by children Actions. These children Actions are
performed by Lifelines (Assets). Messages (Input/Outputs) are received by and generated by the children
Actions.
Sequence diagrams can be created directly through the model in database view. To create a sequence diagram
through database view:
1.
2.
3.
4.
Click “Database”
Click “New Entity”
Select “Action”
Name the parent Action (P) (Name of the diagram)
The entire sequence diagram model can be created from within entity view through the following process. The
model can also be modified more rapidly through Action (P)'s Spider Diagram.
Using the Sequence Diagram in Innoslate 4
Add new Actions to specify functionality manually:
1.
2.
3.
4.
5.
Click the Arrow next to “Add” in the decomposed by (children) relationship
Select “New Action”
Name the Action
Click “Submit”
Repeat for all Actions needed
Add new Lifelines (Assets):
1.
2.
3.
4.
5.
6.
Click the name of the child Action (A) that is performed by the Lifeline
Click the Arrow next to “Add” in the performed by relationship
Select “New Asset”
Name the Lifeline (Asset) of the diagram
Click “Submit”
Repeat for all desired Lifelines
Add existing Lifelines (Assets):
1.
2.
3.
4.
5.
Click the name of the child Action (A) that is performed by the Lifeline
Click "Add" in the performed by relationship
Select the name of the Lifeline (Asset)
Click "Submit"
Repeat for all desired Lifelines
Add new Messages (Input/Outputs) onto the diagram manually:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
Click the name of the child Action (A) that generates the Message (Input/Output)
Click the Arrow next to "Add" in the generated by relationship
Select "New Input/Output"
Name the Message of the diagram
Click "Submit"
Click the name of the Message
Click "Add" in the received by relationship
Select the other Action (B) that receives the Action
Click Action (B)
Click the parent Action (P)
Repeat for all desired Messages
Using the Sequence Diagram in Innoslate 5
Copyright © 2014 Systems and Proposal Engineering Company.
All Rights Reserved.
Innoslate® is a registered trademark of Systems and Proposal Engineering Company.
Last modified on July 16th 2014.
Using the Sequence Diagram in Innoslate 6