Appendix B. Guide to Notation
The good thing about bubbles and arrows, as opposed to programs, is that they never crash.
This appendix describes the graphical notation that I use throughout the book.1 I prepared all diagrams with Microsoft Visio 2003. The code accompanying this book contains the Visio stencil that I used (directory
<qp>\visio\). The notation should be compatible with the UML specification [OMG 07].
A class diagram shows classes, their internal structures, and the static (compile-time) relationships among them. Figure B.1 shows the various presentation options for classes.
• A class is always denoted by a box with the class name in bold type at the top. Optionally, just below the name, a class box can have an attribute ...