Skip to content

Commit 511bbf3

Browse files
Fix blog post: Replace non-existent images with Mermaid diagrams
- Replace image reference with comprehensive Mermaid architecture diagram - Remove image reference from posts.mdx card component - Use Mintlify-compatible Mermaid syntax for visual representation - Diagram shows the full Grainchain architecture from application to providers
1 parent 1f92f5d commit 511bbf3

2 files changed

Lines changed: 52 additions & 5 deletions

File tree

docs/blog/grainchain-langchain-for-sandboxes.mdx

Lines changed: 52 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,58 @@ iconType: "solid"
55
description: "Unifying the fragmented sandbox ecosystem with a provider-agnostic interface"
66
---
77

8-
<Frame caption="Grainchain provides a unified interface across sandbox providers, just like Langchain does for LLMs">
9-
<img src="/images/grainchain-architecture.png" />
10-
</Frame>
8+
```mermaid
9+
graph TB
10+
subgraph "Application Layer"
11+
App[Your Application]
12+
end
13+
14+
subgraph "Grainchain Core"
15+
API[Unified API]
16+
Config[Configuration Manager]
17+
Session[Session Manager]
18+
end
19+
20+
subgraph "Provider Adapters"
21+
E2B[E2B Adapter]
22+
Modal[Modal Adapter]
23+
Daytona[Daytona Adapter]
24+
Morph[Morph Adapter]
25+
Local[Local Adapter]
26+
end
27+
28+
subgraph "Sandbox Providers"
29+
E2BProvider[E2B Sandboxes]
30+
ModalProvider[Modal Sandboxes]
31+
DaytonaProvider[Daytona Workspaces]
32+
MorphProvider[Morph VMs]
33+
LocalProvider[Local Environment]
34+
end
35+
36+
App --> API
37+
API --> Config
38+
API --> Session
39+
40+
Config --> E2B
41+
Config --> Modal
42+
Config --> Daytona
43+
Config --> Morph
44+
Config --> Local
45+
46+
E2B --> E2BProvider
47+
Modal --> ModalProvider
48+
Daytona --> DaytonaProvider
49+
Morph --> MorphProvider
50+
Local --> LocalProvider
51+
52+
style App fill:#e1f5fe
53+
style API fill:#f3e5f5
54+
style E2BProvider fill:#fff3e0
55+
style ModalProvider fill:#fff3e0
56+
style DaytonaProvider fill:#fff3e0
57+
style MorphProvider fill:#fff3e0
58+
style LocalProvider fill:#fff3e0
59+
```
1160

1261
The sandbox ecosystem is exploding. E2B, Modal, Daytona, Morph, and countless other providers are revolutionizing how we execute code in isolated environments. But this innovation comes with a cost: **fragmentation**.
1362

@@ -264,4 +313,3 @@ The future of sandbox computing is unified, open, and developer-first.
264313
*Built with ❤️ by the [Codegen](https://codegen.com) team*
265314

266315
*Get started with Grainchain today: [https://github.com/codegen-sh/grainchain](https://github.com/codegen-sh/grainchain)*
267-

docs/blog/posts.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ iconType: "solid"
1111
Unifying the fragmented sandbox ecosystem with a provider-agnostic interface that lets you write once and run anywhere.
1212

1313
<Card
14-
img="/images/grainchain-architecture.png"
1514
title="Grainchain provides unified access to sandbox providers"
1615
href="/blog/grainchain-langchain-for-sandboxes"
1716
/>

0 commit comments

Comments
 (0)