Skip to content

Commit 6e2e9a4

Browse files
committed
Add model view controller diagram for frontend
1 parent 5406a58 commit 6e2e9a4

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
flowchart TD
2+
subgraph subGraph0["State Stores"]
3+
AS["AuthStore"]
4+
CS["CollaborationStore"]
5+
QS["QuestionStore"]
6+
end
7+
subgraph subGraph1["Data Models"]
8+
UM["User Model"]
9+
PM["Problem Model"]
10+
CM["Collaboration Model"]
11+
end
12+
subgraph subGraph2["Model Layer"]
13+
subGraph0
14+
subGraph1
15+
end
16+
subgraph subGraph3["Layout Views"]
17+
RL["RootLayout"]
18+
ML["MainLayout"]
19+
CL["CollabLayout"]
20+
end
21+
subgraph subGraph4["Feature Views"]
22+
CE["CodeEditor"]
23+
PS["ProblemSelection"]
24+
AF["AuthForms"]
25+
end
26+
subgraph subGraph5["Shared Views"]
27+
BU["Base UI Components"]
28+
CU["Complex UI Components"]
29+
end
30+
subgraph subGraph6["View Layer"]
31+
subGraph3
32+
subGraph4
33+
subGraph5
34+
end
35+
subgraph subGraph7["State Controllers"]
36+
AC["Auth Controller"]
37+
CC["Collab Controller"]
38+
QC["Question Controller"]
39+
end
40+
subgraph subGraph8["Event Controllers"]
41+
EC["Event Handlers"]
42+
WC["WebSocket Controller"]
43+
YC["YJS Controller"]
44+
end
45+
subgraph subGraph9["Controller Layer"]
46+
subGraph7
47+
subGraph8
48+
end
49+
AS --> AC
50+
CS --> CC
51+
QS --> QC
52+
AC --> AF
53+
CC --> CE
54+
QC --> PS
55+
EC --> BU & CU
56+
WC --> CE
57+
YC --> CE
58+
UM --> AS
59+
PM --> QS
60+
CM --> CS
61+
62+
63+

0 commit comments

Comments
 (0)