Skip to content

Commit

Permalink
DG: improve resolution of diagram image
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyi105 committed Nov 13, 2023
1 parent ddd88c7 commit 45fd69c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ The `Parser` component is responsible for interpreting the user's input and retu

Below is the sequence diagram of a parser which shows how `Parser` parses user input:

![Parser Parsing User Input Sequence Diagram](images/sequence/Parser.png)
![Parser Parsing User Input Sequence Diagram](images/sequence/Parser_execute_command.svg)
<br>*Figure 5: Parser Parsing User Input Sequence Diagram*

When user input a string to `Main`, it passes the full user input to `Parser` via `parseCommand`. In `parseCommand`, it finds the matching keyword for different command from the user input, it calls the respective `prepareCommand` method within itself. `prepareCommand` then generates the corresponding command class and return it to `parseCommand`, which returns the `Command` back to `Main` for execution.
Expand Down
1 change: 1 addition & 0 deletions docs/images/sequence/Parser_execute_command.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 45fd69c

Please sign in to comment.