Skip to content

Commit

Permalink
docs: Add entity diagram to docs/internals/architecture.md (#2430)
Browse files Browse the repository at this point in the history
Adds an entity diagram of the Snaps architecture.
  • Loading branch information
rekmarks authored May 24, 2024
1 parent 6633bab commit f7eeea9
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/internals/architecture.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
# Architecture

Below is a sequence diagram of the architecture of the Metamask Snaps system. It
shows the flow of a request from a dapp to a snap, and back.
## Entity diagram

This entity diagram illustrates the "backend" components of the Snaps system
and how they communicate with each other.

![MetaMask Snaps Architecture](https://github.com/MetaMask/snaps/assets/25517051/4e2ba193-7245-4400-9b29-92b13ccb9cd1)

## Sequence diagram

This sequence diagram illustrates the flow of a request from a dapp to a Snap, and back.

```mermaid
sequenceDiagram
Expand Down

0 comments on commit f7eeea9

Please sign in to comment.