Skip to content

Commit b5ff123

Browse files
committed
fix(docs): bind all text to containers to prevent overflow
Agent Loop, Tool Executor, and Local SQLite text elements now use containerId binding so text wraps within box boundaries.
1 parent 22eb1f6 commit b5ff123

File tree

2 files changed

+47
-32
lines changed

2 files changed

+47
-32
lines changed

docs/architecture.excalidraw

Lines changed: 47 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,12 @@
360360
"version": 1,
361361
"versionNonce": 3010,
362362
"isDeleted": false,
363-
"boundElements": [],
363+
"boundElements": [
364+
{
365+
"type": "text",
366+
"id": "agent_text"
367+
}
368+
],
364369
"groupIds": [],
365370
"frameId": null,
366371
"roundness": {
@@ -370,10 +375,10 @@
370375
{
371376
"id": "agent_text",
372377
"type": "text",
373-
"x": 360,
374-
"y": 258,
375-
"width": 140,
376-
"height": 25,
378+
"x": 290,
379+
"y": 260,
380+
"width": 280,
381+
"height": 44,
377382
"angle": 0,
378383
"strokeColor": "#2f9e44",
379384
"backgroundColor": "transparent",
@@ -389,13 +394,13 @@
389394
"groupIds": [],
390395
"frameId": null,
391396
"roundness": null,
392-
"text": "Agent Loop",
393-
"fontSize": 20,
397+
"text": "Agent Loop\nClaude \u00b7 Gemini \u00b7 OpenAI \u00b7 Groq",
398+
"fontSize": 14,
394399
"fontFamily": 1,
395400
"textAlign": "center",
396-
"verticalAlign": "top",
397-
"containerId": null,
398-
"originalText": "Agent Loop"
401+
"verticalAlign": "middle",
402+
"containerId": "agent_rect",
403+
"originalText": "Agent Loop\nClaude \u00b7 Gemini \u00b7 OpenAI \u00b7 Groq"
399404
},
400405
{
401406
"id": "agent_sub",
@@ -414,7 +419,7 @@
414419
"seed": 3012,
415420
"version": 1,
416421
"versionNonce": 3012,
417-
"isDeleted": false,
422+
"isDeleted": true,
418423
"boundElements": null,
419424
"groupIds": [],
420425
"frameId": null,
@@ -1211,7 +1216,12 @@
12111216
"version": 1,
12121217
"versionNonce": 5010,
12131218
"isDeleted": false,
1214-
"boundElements": [],
1219+
"boundElements": [
1220+
{
1221+
"type": "text",
1222+
"id": "tools_text"
1223+
}
1224+
],
12151225
"groupIds": [],
12161226
"frameId": null,
12171227
"roundness": {
@@ -1221,10 +1231,10 @@
12211231
{
12221232
"id": "tools_text",
12231233
"type": "text",
1224-
"x": 350,
1225-
"y": 602,
1226-
"width": 160,
1227-
"height": 25,
1234+
"x": 290,
1235+
"y": 604,
1236+
"width": 280,
1237+
"height": 44,
12281238
"angle": 0,
12291239
"strokeColor": "#862e9c",
12301240
"backgroundColor": "transparent",
@@ -1240,13 +1250,13 @@
12401250
"groupIds": [],
12411251
"frameId": null,
12421252
"roundness": null,
1243-
"text": "Tool Executor",
1244-
"fontSize": 20,
1253+
"text": "Tool Executor\nbash \u00b7 file_read \u00b7 load_skills",
1254+
"fontSize": 13,
12451255
"fontFamily": 1,
12461256
"textAlign": "center",
1247-
"verticalAlign": "top",
1248-
"containerId": null,
1249-
"originalText": "Tool Executor"
1257+
"verticalAlign": "middle",
1258+
"containerId": "tools_rect",
1259+
"originalText": "Tool Executor\nbash \u00b7 file_read \u00b7 load_skills"
12501260
},
12511261
{
12521262
"id": "tools_sub",
@@ -1265,7 +1275,7 @@
12651275
"seed": 5012,
12661276
"version": 1,
12671277
"versionNonce": 5012,
1268-
"isDeleted": false,
1278+
"isDeleted": true,
12691279
"boundElements": null,
12701280
"groupIds": [],
12711281
"frameId": null,
@@ -2039,7 +2049,12 @@
20392049
"version": 1,
20402050
"versionNonce": 7010,
20412051
"isDeleted": false,
2042-
"boundElements": [],
2052+
"boundElements": [
2053+
{
2054+
"type": "text",
2055+
"id": "db_text"
2056+
}
2057+
],
20432058
"groupIds": [],
20442059
"frameId": null,
20452060
"roundness": {
@@ -2049,10 +2064,10 @@
20492064
{
20502065
"id": "db_text",
20512066
"type": "text",
2052-
"x": 310,
2067+
"x": 265,
20532068
"y": 832,
2054-
"width": 240,
2055-
"height": 22,
2069+
"width": 330,
2070+
"height": 40,
20562071
"angle": 0,
20572072
"strokeColor": "#2b8a3e",
20582073
"backgroundColor": "transparent",
@@ -2068,13 +2083,13 @@
20682083
"groupIds": [],
20692084
"frameId": null,
20702085
"roundness": null,
2071-
"text": "Local SQLite (~/.obk/)",
2072-
"fontSize": 18,
2086+
"text": "Local SQLite (~/.obk/)\nall data stays on your machine",
2087+
"fontSize": 13,
20732088
"fontFamily": 1,
20742089
"textAlign": "center",
2075-
"verticalAlign": "top",
2076-
"containerId": null,
2077-
"originalText": "Local SQLite (~/.obk/)"
2090+
"verticalAlign": "middle",
2091+
"containerId": "db_rect",
2092+
"originalText": "Local SQLite (~/.obk/)\nall data stays on your machine"
20782093
},
20792094
{
20802095
"id": "db_sub",
@@ -2093,7 +2108,7 @@
20932108
"seed": 7012,
20942109
"version": 1,
20952110
"versionNonce": 7012,
2096-
"isDeleted": false,
2111+
"isDeleted": true,
20972112
"boundElements": null,
20982113
"groupIds": [],
20992114
"frameId": null,

docs/architecture.png

-11.8 KB
Loading

0 commit comments

Comments
 (0)