Skip to content

Commit 2376390

Browse files
committed
feat: convert ASCII art diagrams to Mermaid format
- Convert EVM plugin architecture diagram to Mermaid flowchart - Convert Solana plugin architecture diagram to Mermaid flowchart - Convert SQL plugin architecture diagram to Mermaid flowchart - Improves consistency across documentation - Makes diagrams more maintainable and scalable
1 parent a1d0fab commit 2376390

File tree

3 files changed

+22
-40
lines changed

3 files changed

+22
-40
lines changed

plugins/defi/evm/complete-documentation.mdx

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,13 @@ This guide provides an in-depth look at the EVM plugin's architecture, component
99

1010
The EVM plugin follows a modular architecture with clear separation of concerns:
1111

12-
```
13-
┌─────────────────┐ ┌──────────────┐ ┌──────────────┐
14-
│ Actions │────▶│ Service │────▶│ Blockchain │
15-
│ (User Intent) │ │ (EVMService)│ │ (Viem) │
16-
└─────────────────┘ └──────────────┘ └──────────────┘
17-
│ │
18-
▼ ▼
19-
┌─────────────────┐ ┌──────────────┐
20-
│ Templates │ │ Providers │
21-
│ (AI Prompts) │ │ (Data Supply)│
22-
└─────────────────┘ └──────────────┘
12+
```mermaid
13+
flowchart LR
14+
A[Actions<br/>User Intent] --> B[Service<br/>EVMService]
15+
B --> C[Blockchain<br/>Viem]
16+
17+
A --> D[Templates<br/>AI Prompts]
18+
B --> E[Providers<br/>Data Supply]
2319
```
2420

2521
## Core Components

plugins/defi/solana/complete-documentation.mdx

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,14 @@ This guide provides comprehensive documentation of the Solana plugin's architect
99

1010
The Solana plugin follows a modular architecture optimized for high-performance blockchain interactions:
1111

12-
```
13-
┌─────────────────┐ ┌──────────────┐ ┌──────────────┐
14-
│ Actions │────▶│ SolanaService│────▶│ Solana RPC │
15-
│ (User Intent) │ │ (Core Logic)│ │ Connection │
16-
└─────────────────┘ └──────────────┘ └──────────────┘
17-
│ │ │
18-
▼ ▼ ▼
19-
┌─────────────────┐ ┌──────────────┐ ┌──────────────┐
20-
│ AI Templates │ │ Providers │ │ Birdeye API │
21-
│ (NLP Parsing) │ │ (Wallet Data)│ │ (Price Data) │
22-
└─────────────────┘ └──────────────┘ └──────────────┘
12+
```mermaid
13+
flowchart LR
14+
A[Actions<br/>User Intent] --> B[SolanaService<br/>Core Logic]
15+
B --> C[Solana RPC<br/>Connection]
16+
17+
A --> D[AI Templates<br/>NLP Parsing]
18+
B --> E[Providers<br/>Wallet Data]
19+
C --> F[Birdeye API<br/>Price Data]
2320
```
2421

2522
## Core Components

plugins/sql.mdx

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,24 +35,13 @@ The `@elizaos/plugin-sql` provides comprehensive database management for elizaOS
3535

3636
The plugin consists of several key components:
3737

38-
```
39-
┌─────────────────────────────────┐
40-
│ elizaOS Runtime │
41-
└────────────┬────────────────────┘
42-
43-
┌────────────▼────────────────────┐
44-
│ DatabaseMigrationService │
45-
│ • Schema Discovery │
46-
│ • Migration Orchestration │
47-
└────────────┬────────────────────┘
48-
49-
┌────────────▼────────────────────┐
50-
│ Database Adapters │
51-
├─────────────────────────────────┤
52-
│ PGLite Adapter │ PG Adapter │
53-
│ • Development │ • Production │
54-
│ • File-based │ • Pooled │
55-
└────────────────┴────────────────┘
38+
```mermaid
39+
flowchart TD
40+
A[elizaOS Runtime] --> B[DatabaseMigrationService<br/>• Schema Discovery<br/>• Migration Orchestration]
41+
B --> C[Database Adapters]
42+
43+
C --> D[PGLite Adapter<br/>• Development<br/>• File-based]
44+
C --> E[PG Adapter<br/>• Production<br/>• Pooled]
5645
```
5746

5847
## Core Components

0 commit comments

Comments
 (0)