Skip to content

Commit 5712284

Browse files
ofershapcursoragent
andcommitted
docs: fix architecture diagram to top-down Mermaid layout
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 66731d1 commit 5712284

1 file changed

Lines changed: 7 additions & 20 deletions

File tree

README.md

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -219,26 +219,13 @@ volumes:
219219
## Architecture
220220
221221
```mermaid
222-
flowchart LR
223-
subgraph APIs["Cursor Enterprise APIs"]
224-
A1["/teams/members"]
225-
A2["/teams/spend"]
226-
A3["/teams/daily-usage-data"]
227-
A4["/teams/filtered-usage-events"]
228-
A5["/teams/groups"]
229-
A6["/analytics/team/*"]
230-
end
231-
232-
subgraph Core
233-
C["Collector\n(hourly)"]
234-
DB[("SQLite\n(local)")]
235-
D["Detection Engine\n3 layers"]
236-
end
237-
238-
subgraph Output
239-
AL["Alerts\nSlack / Email"]
240-
DA["Dashboard\nNext.js"]
241-
end
222+
flowchart TB
223+
APIs["Cursor Enterprise APIs\n/teams/members · /teams/spend · /teams/daily-usage-data\n/teams/filtered-usage-events · /teams/groups · /analytics/team/*"]
224+
C["Collector (hourly)"]
225+
DB[("SQLite (local)")]
226+
D["Detection Engine — 3 layers"]
227+
AL["Alerts · Slack / Email"]
228+
DA["Dashboard · Next.js"]
242229

243230
APIs --> C --> DB --> D
244231
DB --> DA

0 commit comments

Comments
 (0)