Difference between revisions of "Diagrams"
(→Examples) |
|||
Line 58: | Line 58: | ||
===Detailed Class Diagram=== | ===Detailed Class Diagram=== | ||
− | [[File:Detailed Class Diagram in Dia.png | | + | [[File:Detailed Class Diagram in Dia.png | 550 px]] |
''An example of a Class Diagram with Attributes and Operations filled in and visible'' | ''An example of a Class Diagram with Attributes and Operations filled in and visible'' | ||
Line 64: | Line 64: | ||
===Deployment Diagram=== | ===Deployment Diagram=== | ||
− | [[File:Deployment Diagram in Dia.png | | + | [[File:Deployment Diagram in Dia.png | 575 px]] |
''An example of a Deployment Diagram - in this case only one platform to deploy on.'' | ''An example of a Deployment Diagram - in this case only one platform to deploy on.'' | ||
Line 70: | Line 70: | ||
===Statechart Diagram=== | ===Statechart Diagram=== | ||
− | [[File:Statechart in Dia.png | | + | [[File:Statechart in Dia.png | 550 px]] |
''An example of a Statechart Diagram.'' | ''An example of a Statechart Diagram.'' | ||
+ | |||
+ | Note: '''EventExit''' will trigger a transition from either states to the exit point if it happens. | ||
===Sequence Diagram=== | ===Sequence Diagram=== | ||
Line 79: | Line 81: | ||
'' An example of a Sequence Diagram.'' | '' An example of a Sequence Diagram.'' | ||
+ | |||
+ | Note: The dotted line indicates a time shift. |
Revision as of 11:55, 15 June 2018
In EUDP we generally uses UML and SysML diagrams.
Contents
Tutorials and Software
For Tutorials Please use your favourite search engine to search for "Tutorial UML" or "Tutorial SysML" if what is described below is fulfilling your needs..
UML
Over at Tutorialspoint you can find excellent tutorials in general and also for UML.
Dia is a rather simple, yet effective, tool for creating diagrams. Binaries are provided for major operating systems over at Dia downloads page.
If you are running Linux you'll just have to install it from the repositories provided by your specific distribution. E.g. in Centos execute
]$ sudo yum install dia
Another free tool in most Linux'es is Modelio, which also supports UML diagrams.
If you are running KDE as tour desktop kdesk-umbrello may also be a useful choice for you. If you are running on top of Gnome just search for umbrello
SysML
For SysML it is a bit harder to locate on-line resources suitable for self study.
Eclipse hosts Papyrus, which is a SysML and UML drawing tool of high quality, but maybe not that easy to get familiar with. There is a guide in the project space on Eclipse.org, which can be used for getting started with SysML and UML Diagrams. Downloads are located in the same project space.
Block Diagrams
Block diagrams can be made in any text editor or drawing program like Libre Office Writer or Draw.
Again Dia proves to be a useful tool.
Flow Charts
Flow charts are often used as a method of illustrating a flow in a piece of software. Find over at Tutorialspoint a brief introduction to flow charts.
Dia is a useful tool for drawing flow charts.
Examples
Find below a few examples of diagram types prepared in Dia
Flow Chart
An example of a Flow chart made in Dia - here with all drawing objects selected (Ctrl+A)
Class Diagram
An example of a Class Diagram in Dia - in this diagram the Attributes and Operations is not shown.
This can represent the first bbasic Block or Class Diagram before details are known.
Detailed Class Diagram
An example of a Class Diagram with Attributes and Operations filled in and visible
Deployment Diagram
An example of a Deployment Diagram - in this case only one platform to deploy on.
Statechart Diagram
An example of a Statechart Diagram.
Note: EventExit will trigger a transition from either states to the exit point if it happens.
Sequence Diagram
An example of a Sequence Diagram.
Note: The dotted line indicates a time shift.