File tree Expand file tree Collapse file tree 1 file changed +57
-0
lines changed
Expand file tree Collapse file tree 1 file changed +57
-0
lines changed Original file line number Diff line number Diff line change 1+ graph TD
2+ subgraph Model [ Model Layer]
3+ style Model fill :#f9f , stroke :#333 , stroke-width :2px
4+ subgraph Stores [ State Management]
5+ AS [ Auth Store]
6+ CS [ Collab Store]
7+ QS [ Question Store]
8+ end
9+ subgraph External [ External Data]
10+ WS [ WebSocket]
11+ YJS [ YJS Doc]
12+ API [ REST API]
13+ end
14+ end
15+
16+ subgraph View [ View Layer]
17+ style View fill :#bbf , stroke :#333 , stroke-width :2px
18+ subgraph Pages [ Page Components]
19+ CP [ Collaboration Page]
20+ MP [ Main Page]
21+ NB [ Navbar]
22+ end
23+ subgraph Core [ Core Components]
24+ CE [ Code Editor]
25+ PS [ Problem Selection]
26+ LS [ Language Selector]
27+ AS [ Audio Sharing]
28+ end
29+ end
30+
31+ subgraph Controller [ Controller Layer]
32+ style Controller fill :#bfb , stroke :#333 , stroke-width :2px
33+ subgraph Handlers [ Event Handlers]
34+ EH [ Editor Mount]
35+ CH [ Client Connect]
36+ MH [ Mouse Events]
37+ end
38+ subgraph Logic [ Business Logic]
39+ RT [ Real-time Sync]
40+ SS [ Session State]
41+ AM [ Auth Management]
42+ end
43+ end
44+
45+ %% Data Flow
46+ AS --> AM --> NB
47+ CS --> SS --> CE
48+ QS --> PS
49+ WS & YJS --> RT --> CE
50+ API --> PS
51+
52+ %% Event Flow
53+ EH --> CE
54+ CH --> CE
55+ MH --> CP
56+
57+ classDef default fill :#fff , stroke :#333 , stroke-width :1px
You can’t perform that action at this time.
0 commit comments