Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mild adjustment to DG #161

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Removing Bouquets follows a similar logic, just that instead of calling `Bouquet

`info <flowerName>` command prints information about the specified flower

![Info Command Sequence Diagram](/docs/UML-diagrams/Ian/InfoCommandUML.png)
![Info Command Sequence Diagram](UML-diagrams/Ian/InfoCommandUML.png)

Step 1: Flower information mechanism utilize the `parser` class to parse user command for a specific flower name inputted.

Expand Down Expand Up @@ -85,7 +85,7 @@ Help command utilises the `parser` class to identify the keyword `help`

`add <flower> /q <quantity> /to <targetBouquet>` command adds specified number of flower to a bouquet

![Add Flower Command Diagram](/docs/UML-diagrams/Ijaaz/Ijaaz-UML.png)
![Add Flower Command Diagram](UML-diagrams/Ijaaz/Ijaaz-UML.png)

Step 1: Firstly the input is put into the `Parser.parse()` method to identify that it is infact an add flower command.

Expand All @@ -103,7 +103,7 @@ Step 5: A confirmation message is then sent back to the user

The proposed storage mechanism will utilize a class `storage` who is in charge of getting the file, `encoder` which will encode current model into a .txt file format, `decoder` which will decode .txt file into a usable model.

![Storage Class Diagram](/docs/UML-diagrams/Ian/storage.png)
![Storage Class Diagram](UML-diagrams/Ian/storage.png)

#### Design Considerations:
- Alternative 1 (current choice): use .txt files as storage
Expand Down Expand Up @@ -159,7 +159,7 @@ Priorities: High (must have) `* * *`, Medium (nice to have) `* *`, Low (unlikely

## Use cases

(For all all use cases below, the System is `Florizz` and the Actor is the `user`, unless specified otherwise)
(For all use cases below, the System is `Florizz` and the Actor is the `user`, unless specified otherwise)

**Use case: Create a new bouquet named "for valentine" and add 3 stalks of rose into the bouquet**

Expand Down
Binary file modified docs/UML-diagrams/Samuel/AddBouquets.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/UML-diagrams/Samuel/AddBouquets.puml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ deactivate AddBouquetCommand
destroy AddBouquetCommand

Florizz-->user : "added valentines"
deactivate Florizz
@enduml
Loading