Learning Visual Paradigm
Before the start of Lab 2, you must be able to use VP-UML effectively. We therefore introduce VP-UML here.
License for VP-UML
You can use the computers in the lab or install Visual Paradigm for UML 13.1 on your personal computer.
On your personal computer you should activate the license, otherwise the software will run in demo mode and superimpose text on the exported diagrams and after some time will expire. To activate the license for Visual Paradigm 13.1, follow these instructions in step 2 and step 6. Use the
8F2B3-8E754-A675J-NZNGQ-95KR5 activation code and your CMRC email address. The laboratory version has already been activated.
Exporting Diagrams from Visual Paradigm
For your lab reports, you will often have to export diagrams from VP-UML. To do this, use the Project> Export> Active Diagram as Image option.
For vector files (better quality), use EMF on Windows and PDF on Mac OS. You can also try the PNG format with the background at 300 dpi. VP-UML.
Visual Paradigm Tutorials
Go through the following exercises in the VP-UML User's Guide.
Overview of VP-UML. Proceed through sections 5.1 through 5.7 and 6.1 through 6.6 of Part I (User Interface and Working with projects) of the Guide. Make sure you can tell the difference between a model and a diagram. Class diagrams. Go through section 2.1 of Part II of the Guide to class diagrams.
Class Diagrams. Work through Part II section 2.1 of the guide, on drawing class diagrams.
Package Diagrams. Work through Part II section 9.1 of the guide, on drawing package diagrams.
Sequence and Communication Diagrams. Work through Part II sections 3.1 and 4.1 of the guide, on sequence and communication diagrams. Make sure you understand how sequence diagrams and communication diagrams are isomorphic transforms (ie, the are the same thing represented two different ways). You can generate a sequence diagram from a communication diagram (and vice versa) by right-clicking on the diagram's background and chosing Synchronize to Communication Diagram or Synchronize to Sequence Diagram.
State Machine Diagrams. Work through Part II section 5.1 of the guide, on state machine diagrams.
Use Case Diagrams. Work though Part II sections 1.1 through 1.3 of the guide, on drawing use case diagrams and documenting use case details.
There are no deliverables for this laboratory.