Skip to content

Commit

Permalink
Merge pull request #88 from samchon/doc/mermaid
Browse files Browse the repository at this point in the history
Change sequence digram from visio to mermaid
  • Loading branch information
samchon authored Aug 19, 2024
2 parents da497cc + 02bac36 commit cf8d38a
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion website/pages/docs/features/components.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,35 @@ Otherwise, let's study about the key components of the `TGrid`.


## Communicator
![Sequence Diagram](/images/diagrams/sequence.png)
```mermaid
sequenceDiagram
box Client Application
actor User
participant Driver as Driver<Listener>
participant Connector as Communicator (Client)
end
box Server Application
participant Acceptor as Communicator (Server)
actor Provider
end
User->>Driver: 1. calls a function
Activate User
Activate Driver
Driver->>Connector: 2. delivers the function call
Activate Connector
Deactivate Driver
Connector-->>Acceptor: 3. sends a protocolized<br/>network message<br/>meaning a function call
Deactivate Connector
Activate Acceptor
Acceptor->>Provider: 4. calls the function
Provider->>Acceptor: 5. returns a value
Acceptor-->>Connector: 6. sends a protocolized<br/>network message<br/>meaning a return value
Deactivate Acceptor
Activate Connector
Connector->>User: 7. delivers the return value
Deactivate Connector
Deactivate User
```

Communicates with a remote system.

Expand Down
Binary file removed website/public/images/diagrams/sequence.png
Binary file not shown.

0 comments on commit cf8d38a

Please sign in to comment.