Skip to content

Commit 3c53aaa

Browse files
authored
mermaid cleanup (langchain-ai#2902)
1 parent da12f1b commit 3c53aaa

11 files changed

Lines changed: 55 additions & 49 deletions

‎src/index.mdx‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,5 @@ mode: "custom"
151151
</Card>
152152
</CardGroup>
153153

154-
<Warning>
155-
Test
156-
</Warning>
157-
158154
</div>
159155
</div>

‎src/langsmith/assistants.mdx‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ graph TD
3636
A --> C["Customer B Assistant<br/>━━━━━━━━━━━━━<br/>Model: Claude<br/>Tone: Casual<br/>Tools: Standard"]
3737
A --> D["Customer C Assistant<br/>━━━━━━━━━━━━━<br/>Model: GPT-3.5<br/>Tone: Formal<br/>Tools: Limited"]
3838
39-
style A fill:#4A90E2,stroke:#2E5C8A,stroke-width:3px,color:#fff
40-
style B fill:#B3E0F2,stroke:#4A90E2,stroke-width:2px,color:#000
41-
style C fill:#B3E0F2,stroke:#4A90E2,stroke-width:2px,color:#000
42-
style D fill:#B3E0F2,stroke:#4A90E2,stroke-width:2px,color:#000
39+
style A fill:#DBEAFE,stroke:#2563EB,stroke-width:3px,color:#1E3A8A
40+
style B fill:#B3E0F2,stroke:#4A90E2,stroke-width:2px,color:#1E3A5F
41+
style C fill:#B3E0F2,stroke:#4A90E2,stroke-width:2px,color:#1E3A5F
42+
style D fill:#B3E0F2,stroke:#4A90E2,stroke-width:2px,color:#1E3A5F
4343
```
4444

4545
- **Environment-specific configurations**
@@ -64,10 +64,10 @@ graph TD
6464
A --> C["Tweet Assistant<br/>━━━━━━━━━━━━━<br/>Model: GPT-4-mini<br/>Tone: Casual<br/>Style: 280-char limit<br/>Tools: Hashtag suggestions"]
6565
A --> D["Email Assistant<br/>━━━━━━━━━━━━━<br/>Model: GPT-4<br/>Tone: Professional<br/>Style: Medium length<br/>Tools: Templates"]
6666
67-
style A fill:#4A90E2,stroke:#2E5C8A,stroke-width:3px,color:#fff
68-
style B fill:#B3E0F2,stroke:#4A90E2,stroke-width:2px,color:#000
69-
style C fill:#B3E0F2,stroke:#4A90E2,stroke-width:2px,color:#000
70-
style D fill:#B3E0F2,stroke:#4A90E2,stroke-width:2px,color:#000
67+
style A fill:#DBEAFE,stroke:#2563EB,stroke-width:3px,color:#1E3A8A
68+
style B fill:#B3E0F2,stroke:#4A90E2,stroke-width:2px,color:#1E3A5F
69+
style C fill:#B3E0F2,stroke:#4A90E2,stroke-width:2px,color:#1E3A5F
70+
style D fill:#B3E0F2,stroke:#4A90E2,stroke-width:2px,color:#1E3A5F
7171
```
7272

7373
## How assistants work with deployments
@@ -159,14 +159,14 @@ flowchart TB
159159
A1T2 --> G
160160
A2T1 --> G
161161
162-
style G fill:#4A90E2,stroke:#2E5C8A,stroke-width:2px,color:#fff
163-
style A1 fill:#B3E0F2,stroke:#4A90E2,stroke-width:2px,color:#000
164-
style A2 fill:#B3E0F2,stroke:#4A90E2,stroke-width:2px,color:#000
165-
style T1 fill:#FFE0B3,stroke:#F59E0B,stroke-width:2px,color:#000
166-
style T2 fill:#FFE0B3,stroke:#F59E0B,stroke-width:2px,color:#000
167-
style A1T1 fill:#B3F2C9,stroke:#10B981,stroke-width:2px,color:#000
168-
style A1T2 fill:#B3F2C9,stroke:#10B981,stroke-width:2px,color:#000
169-
style A2T1 fill:#B3F2C9,stroke:#10B981,stroke-width:2px,color:#000
162+
style G fill:#DBEAFE,stroke:#2563EB,stroke-width:2px,color:#1E3A8A
163+
style A1 fill:#B3E0F2,stroke:#4A90E2,stroke-width:2px,color:#1E3A5F
164+
style A2 fill:#B3E0F2,stroke:#4A90E2,stroke-width:2px,color:#1E3A5F
165+
style T1 fill:#FFE0B3,stroke:#F59E0B,stroke-width:2px,color:#78350F
166+
style T2 fill:#FFE0B3,stroke:#F59E0B,stroke-width:2px,color:#78350F
167+
style A1T1 fill:#B3F2C9,stroke:#10B981,stroke-width:2px,color:#14532D
168+
style A1T2 fill:#B3F2C9,stroke:#10B981,stroke-width:2px,color:#14532D
169+
style A2T1 fill:#B3F2C9,stroke:#10B981,stroke-width:2px,color:#14532D
170170
```
171171

172172
This diagram shows how a **run** combines an assistant with a thread to execute the graph:

‎src/langsmith/evaluation-concepts.mdx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ graph LR
5858
D -.-> G
5959
E -.-> H[Both]
6060
61-
style F fill:#8b5cf6,stroke:#7c3aed,color:#fff
62-
style G fill:#8b5cf6,stroke:#7c3aed,color:#fff
63-
style H fill:#8b5cf6,stroke:#7c3aed,color:#fff
61+
style F fill:#F3E8FF,stroke:#9333EA,color:#581C87
62+
style G fill:#F3E8FF,stroke:#9333EA,color:#581C87
63+
style H fill:#F3E8FF,stroke:#9333EA,color:#581C87
6464
```
6565

6666
### 1. Development with offline evaluation

‎src/langsmith/local-dev-testing.mdx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ Here's the typical workflow when building applications:
3333
flowchart LR
3434
A["Develop<br/><code>langgraph dev</code>"] --> B["Test Locally<br/><code>langgraph dev</code>"] --> C["Validate<br/><code>langgraph up</code>"] --> D["Deploy<br/>via UI or API"]
3535
36-
style A fill:#1976d2,stroke:#0d47a1,stroke-width:2px,color:#fff
37-
style B fill:#1976d2,stroke:#0d47a1,stroke-width:2px,color:#fff
38-
style C fill:#f57c00,stroke:#e65100,stroke-width:2px,color:#fff
39-
style D fill:#388e3c,stroke:#1b5e20,stroke-width:2px,color:#fff
36+
style A fill:#DBEAFE,stroke:#2563EB,stroke-width:2px,color:#1E3A8A
37+
style B fill:#DBEAFE,stroke:#2563EB,stroke-width:2px,color:#1E3A8A
38+
style C fill:#FEF3C7,stroke:#F59E0B,stroke-width:2px,color:#78350F
39+
style D fill:#DCFCE7,stroke:#16A34A,stroke-width:2px,color:#14532D
4040
```
4141

4242
| Stage | Tool | Purpose |

‎src/langsmith/workload-isolation.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ For details on setting up organizations and workspaces, refer to [Set up hierarc
1919

2020
## Team-centric workspaces
2121

22-
<Callout icon="check" iconType="solid" color="#C7D2FE">
22+
<Warning>
2323
This is the default model and recommended choice for most customers.
24-
</Callout>
24+
</Warning>
2525

2626
This model (single workspace per team) uses a single organization as the top-level boundary. Within the organization, multiple workspaces are used to isolate different teams or business units. Each workspace represents a logical boundary for a specific team and governs which data and resources that team can access. Within a workspace, teams use multiple applications to group together resources that support the same agent. An application may also contain distinct resources, such as separate tracing projects, for development and production environments.
2727

‎src/oss/langchain/agents.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ graph TD
3737
TOOL --"observation"--> LLM
3838
LLM --"finish"--> ANSWER
3939
40-
classDef blueHighlight fill:#0a1c25,stroke:#0a455f,color:#bae6fd;
41-
classDef greenHighlight fill:#0b1e1a,stroke:#0c4c39,color:#9ce4c4;
40+
classDef blueHighlight fill:#DBEAFE,stroke:#2563EB,color:#1E3A8A;
41+
classDef greenHighlight fill:#DCFCE7,stroke:#16A34A,color:#14532D;
4242
class QUERY blueHighlight;
4343
class ANSWER blueHighlight;
4444
```

‎src/oss/langchain/multi-agent/handoffs-customer-support.mdx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ flowchart TD
4343
Escalate --> Close
4444
4545
%% === Styling ===
46-
classDef startEnd fill:#4CAF50,stroke:#2E7D32,stroke-width:2px,color:#fff
47-
classDef decisionNode fill:#2196F3,stroke:#1565C0,stroke-width:2px,color:#fff
48-
classDef actionNode fill:#FF9800,stroke:#E65100,stroke-width:2px,color:#fff
49-
classDef escalateNode fill:#f44336,stroke:#c62828,stroke-width:2px,color:#fff
46+
classDef startEnd fill:#DCFCE7,stroke:#16A34A,stroke-width:2px,color:#14532D
47+
classDef decisionNode fill:#DBEAFE,stroke:#2563EB,stroke-width:2px,color:#1E3A8A
48+
classDef actionNode fill:#FEF3C7,stroke:#F59E0B,stroke-width:2px,color:#78350F
49+
classDef escalateNode fill:#FEE2E2,stroke:#DC2626,stroke-width:2px,color:#7F1D1D
5050
5151
class Start,Close startEnd
5252
class Warranty,IssueType,OutOfWarranty decisionNode

‎src/oss/langchain/multi-agent/skills-sql-assistant.mdx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ flowchart TD
4040
WriteQuery --> Response([✅ Returns valid SQL<br/>following business rules])
4141
4242
%% Styling for light and dark modes
43-
classDef startEnd fill:#4CAF50,stroke:#2E7D32,stroke-width:2px,color:#fff
44-
classDef process fill:#FF9800,stroke:#E65100,stroke-width:2px,color:#fff
45-
classDef decision fill:#2196F3,stroke:#1565C0,stroke-width:2px,color:#fff
46-
classDef enrichment fill:#9C27B0,stroke:#6A1B9A,stroke-width:2px,color:#fff
43+
classDef startEnd fill:#DCFCE7,stroke:#16A34A,stroke-width:2px,color:#14532D
44+
classDef process fill:#FEF3C7,stroke:#F59E0B,stroke-width:2px,color:#78350F
45+
classDef decision fill:#DBEAFE,stroke:#2563EB,stroke-width:2px,color:#1E3A8A
46+
classDef enrichment fill:#F3E8FF,stroke:#9333EA,stroke-width:2px,color:#581C87
4747
4848
class Start,Response startEnd
4949
class SystemPrompt,LoadSkill,WriteQuery process

‎src/oss/langchain/retrieval.mdx‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ graph LR
139139
C --> D[Return Answer to User]
140140
141141
%% Styling
142-
classDef startend fill:#2e7d32,stroke:#1b5e20,stroke-width:2px,color:#fff
143-
classDef process fill:#1976d2,stroke:#0d47a1,stroke-width:1.5px,color:#fff
142+
classDef startend fill:#DCFCE7,stroke:#16A34A,stroke-width:2px,color:#14532D
143+
classDef process fill:#DBEAFE,stroke:#2563EB,stroke-width:1.5px,color:#1E3A8A
144144
145145
class A,D startend
146146
class B,C process
@@ -178,9 +178,9 @@ graph LR
178178
I --> J[Return to user]
179179
180180
%% Dark-mode friendly styling
181-
classDef startend fill:#2e7d32,stroke:#1b5e20,stroke-width:2px,color:#fff
182-
classDef decision fill:#f9a825,stroke:#f57f17,stroke-width:2px,color:#000
183-
classDef process fill:#1976d2,stroke:#0d47a1,stroke-width:1.5px,color:#fff
181+
classDef startend fill:#DCFCE7,stroke:#16A34A,stroke-width:2px,color:#14532D
182+
classDef decision fill:#FEF3C7,stroke:#F59E0B,stroke-width:2px,color:#78350F
183+
classDef process fill:#DBEAFE,stroke:#2563EB,stroke-width:1.5px,color:#1E3A8A
184184
185185
class A,J startend
186186
class B,D,I process
@@ -430,9 +430,9 @@ graph LR
430430
G -- Yes --> I
431431
I --> J[Return to User]
432432
433-
classDef startend fill:#2e7d32,stroke:#1b5e20,stroke-width:2px,color:#fff
434-
classDef decision fill:#f9a825,stroke:#f57f17,stroke-width:2px,color:#000
435-
classDef process fill:#1976d2,stroke:#0d47a1,stroke-width:1.5px,color:#fff
433+
classDef startend fill:#DCFCE7,stroke:#16A34A,stroke-width:2px,color:#14532D
434+
classDef decision fill:#FEF3C7,stroke:#F59E0B,stroke-width:2px,color:#78350F
435+
classDef process fill:#DBEAFE,stroke:#2563EB,stroke-width:1.5px,color:#1E3A8A
436436
437437
class A,J startend
438438
class B,C,E,F,I process

‎src/oss/langchain/short-term-memory.mdx‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@ graph TD
969969
MODEL -.-> TOOLS
970970
MODEL -.-> END
971971
TOOLS --> PRE
972-
classDef blueHighlight fill:#0a1c25,stroke:#0a455f,color:#bae6fd;
972+
classDef blueHighlight fill:#DBEAFE,stroke:#2563EB,color:#1E3A8A;
973973
class S blueHighlight;
974974
class END blueHighlight;
975975
```
@@ -1089,7 +1089,8 @@ graph TD
10891089
POST -.-> END
10901090
POST -.-> TOOLS
10911091
TOOLS --> MODEL
1092-
classDef blueHighlight fill:#0a1c25,stroke:#0a455f,color:#bae6fd;
1092+
classDef blueHighlight fill:#DBEAFE,stroke:#2563EB,color:#1E3A8A;
1093+
classDef greenHighlight fill:#DCFCE7,stroke:#16A34A,color:#14532D;
10931094
class S blueHighlight;
10941095
class END blueHighlight;
10951096
class POST greenHighlight;

0 commit comments

Comments
 (0)