Skip to content

Commit

Permalink
Update DG according to peer review
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyi105 committed Nov 7, 2023
1 parent 87e6608 commit 2d69805
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
* [**Setting up, getting started**](#setting-up-getting-started)
* [**Design**](#design)
* [Architecture](#architecture)
* [How the Architecture Components Interact with Each Other](#how-the-architecture-components-interact-with-each-other)
* [Ui Component](#ui-component)
* [Ui Component](#ui-component-1)
* [Parser Component](#parser-component)
* [Storage Component](#storage-component)
* [Data Component](#data-component)
Expand All @@ -25,9 +27,7 @@
* [Target user profile](#target-user-profile)
* [Value proposition](#value-proposition)
* [User stories](#user-stories)
<!-- TOC -->

--------------------------------------------------------------------------------------------------------------------
<!-- TOC -->--------------------------------------------------------------------------------------------------------------
## **Acknowledgements**

[addressbook-level2](https://github.com/se-edu/addressbook-level2) <br>
Expand Down Expand Up @@ -63,13 +63,14 @@ The bulk of the app’s work is done by the following components:
- `Parser` : Makes sense of user input to return the appropriate command
- `Command` : Executes the command requested by the user.

**How the architecture components interact with each other:**
### How the Architecture Components Interact with Each Other

The Sequence Diagram below shows how the components interact with each other for the scenario where the user issues the command `delete 1`.

![Architecture Encode Data](images/sequence/Architecture_Encode_Data.png)
*Figure 2: Architecture Encode Sequence Diagram*

### Ui Component
### Ui Component
API: [Ui.java]({repoURL}src/main/java/seedu/cafectrl/ui/Ui.java)

Expand Down Expand Up @@ -170,7 +171,7 @@ The data are then packaged nicely in a `leftAlignFormat`, with (indexNum + ". "
e.g. (1. Chicken Rice $2.50) is shown.

### Add Order
A add_order command can be used to add `order` to an `orderList` in `Sales`.
An add_order command can be used to add `order` to an `orderList` in `Sales`.

The following class diagram illustrates the relationship between the respective classes involved in the creation and execution of an add_order command.
![Add_Order Execution](images/class/AddOrderCommandClass.png)
Expand Down

0 comments on commit 2d69805

Please sign in to comment.