1.2 Date Night Assignment

Overview
1.Create a UML class diagram using Violet

Download the starting code here: Date Night 1.2.zip

A Extract the contents of the zip file to the location of your choice
B How to 'fold in' class elements

Many times there are large class diagrams that take up a lot of space like the one below:

Fold In:Class diagram showing MainWindow, Zoo, Restroom, Booth, Employee, and Animal before folding in class elements.
Snip

But we only want/need to see one particular part of the structure so we 'fold in' parts of the structure that don't concern us. To do this, you will delete a node and then insert the field back into the node it is from using Field: Type notation.

Class diagram showing Zoo with Restroom fields and Booth with an Attendant field folded into their nodes.
Snip - Fold In

In this case, we have folded in the two Restrooms and the Employee because we only want to know the structure of the Zoo, Animal and Booth.

C Using the given starting code, create a UML class diagram to represent the classes listed below
1 City
2 Fold in the HairSalon and GasStation
3 House
4 Pursued
5 Pursuer
6 Fold in the Car
2.Create a UML object diagram using Violet
A Set a breakpoint on the closing curly brace of the newHarryAndSallyDateButton_Click in the MainWindow.xaml.cs. Start the application and click the 'New Harry and Sally date' button
B Create nodes for and show relationships between Harry and his sub-objects. "Fold in" the following objects:
Object diagram example showing Zoo and Booth with FeaturedAnimal and Attendant folded in using ellipses.
Example
1 Harry's Vehicle
2 The Hometown's CornerStore
3 The Hometown's Salon
3.Save diagram and submit to Feedback System
A Save the diagrams by clicking File | Save in Violet
1 Make sure the naming convention of the .html file is: Date Night 1.2 LastName
2 Ensure that Violet adds a .class.violet.html and/or .object.violet.html extension to the file when saving
B Zip the html files and submit the .zip file to the Feedback System
1 Zip the folder that contains both html files
2 Make sure the naming convention of the .zip file is: Date Night 1.2 LastName
C Correct any mistakes based on Feedback
1 Re-open file in Violet
2 Correct any errors based upon feedback returned
3 Save
4 Re-zip the .html file
5 Re-submit to Feedback System
6 Repeat the process as necessary until all feedback is resolved
D Submit the resulting Feedback to Canvas as a URL