This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
eiffel:faq:bon [2018/01/01 00:27] jonathan [Create a BON diagram with draw.io] |
eiffel:faq:bon [2018/01/01 00:57] (current) jonathan |
||
---|---|---|---|
Line 11: | Line 11: | ||
- Download and unzip the above BON Template. | - Download and unzip the above BON Template. | ||
- | - Go to [[https://www.draw.io|draw.io]] and create a new drawing (backup site: [[https://www.eecs.yorku.ca/~eiffel/draw/|draw@eecs]] | + | - Go to [[https://www.draw.io|draw.io]] and create a new drawing (backup site: [[https://www.eecs.yorku.ca/~eiffel/draw/|draw@eecs]]). You can also download it as an app. |
- | - Import the BON template | + | - Import the BON template via File => New Library: |
+ | |||
+ | |||
+ | {{:eiffel:faq:faq:draw1.png|}} | ||
+ | |||
+ | ===== Use the Template for Detailed or Compressed Classes ===== | ||
+ | |||
+ | |||
+ | Now use the template to draw the BON diagram | ||
+ | |||
+ | {{:eiffel:faq:faq:bank.png|}} | ||
+ | |||
+ | ==== Relationships between classes ==== | ||
+ | |||
+ | * Inheritance: Red Arrow | ||
+ | * Client Supplier (Green Arrow) | ||
+ | * Reference (Association) | ||
+ | * Expanded (Composition/Aggregation) | ||
+ | |||
+ | |||
+ | ===== Documentation ===== | ||
+ | |||
+ | To include your BON diagram in your Word (MS Office) document, Export (and crop) as PDF. Drag and drop the resulting PDF into your Word document for a clear (and non-fuzzy) image at any resolution. | ||
+ | |||
+ | {{ :eiffel:faq:faq:system.pdf |PDF}} | ||
+ | |||
+ | ===== Maths Symbols for Contracting ===== | ||
+ | |||
+ | |||
+ | Notice that the template has a variety of Maths symbols for contracting | ||
+ | |||
+ | {{:eiffel:faq:faq:maths.png|}} |