1.2 Date Night Assignment

  1. Create a UML class diagram using Violet

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

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

      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.

    Go to top
  2. Create a UML object diagram using Violet

      • Harry's Vehicle
      • The Hometown's CornerStore
      • The Hometown's Salon
      Object diagram example showing Zoo and Booth with FeaturedAnimal and Attendant folded in using ellipses.
      Example
    Go to top
  3. Save diagram and submit to Feedback System.

    Go to top