162 Internet of Things
What Are Constraints?
Constraints are like new conditions that we can add to our diagrams. For example: “the balance
must be above $20”. We can utilize this constraint to control when a checking account must be
ended the bank’s system.
Tools to Draw UML Diagrams
To drawing eective UML diagrams that could document software, processes, or systems, you
will be needing the right tools. There are various software documentation utilities and tools
available that could help you to draw an eective UML diagram. We can divide such tools into
three dierent categories:
Pen and Paper
Nothing gets simpler than an ordinary pen and paper. You can open a UML syntax cheat sheet
from the Internet and directly start drawing your diagram. This will save you a lot of headache
and time.
Online Tools
There are many online applications on the web that could be used to make UML diagrams. The
majority of them are free trials or with a limited number of diagrams. This could be a quick
solution to draw a UML diagram. However, you are looking for a permanent application with
unlimited diagram support.
Free Online Tools
You can say these are just skimped down version of the paid tools. But they can pretty much
do the straight forward job. However, with the free tools, you won’t be any kind of tutorials
and ready-made templates to make the work easy. Draw.io is a great free tool to draw UML
diagrams.
Desktop Applications
Microsoft Visio is the best desktop application to make UML diagrams. It oers tremendous
functionalities and add-ons with full user support. However, you will need to pay a price for the
paid software.
Exercises
1. Take an example of a real-life scenario such as online shopping, hospital visit, and
restaurant visit and create Activity diagram and Use Case diagrams for the same.
2. Create a chart to show all the benefits of using Use case diagrams.
Review Questions
1. What is UML?
2. How are the UML diagrams used in the system?
3. How do you define class diagram?
Internet_of_Things_CH06_pp141-170.indd 162 9/3/2019 10:14:20 AM
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.69.143