Skip to content

Commit 48809cc

Browse files
committed
docs: add Java frame visualization mermaid architecture flow
1 parent d30e088 commit 48809cc

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,29 @@ packages/
9393

9494
---
9595

96+
## Java Frame Visualization Flow (Current)
97+
98+
아래 플로우는 현재 Java 레슨/플레이그라운드에서 함수 프레임이 시각화되는 실제 경로를 나타냅니다.
99+
100+
```mermaid
101+
flowchart TD
102+
A[User Java Code<br/>Main + user classes] --> B[Backend API<br/>POST /api/v1/simulators/java/simulate]
103+
B --> C[JavaSimulationService]
104+
C --> D[DebuggerAgent (JDI STEP_INTO)]
105+
D --> E[SnapshotMaker]
106+
E --> F[Snapshots JSON<br/>stack[methodName, variables], heap]
107+
F --> G[Frontend javaSimulator.ts<br/>steps -> LessonStep]
108+
G --> H[LessonFlowVisualizer<br/>language=java]
109+
H --> I[JavaTransformer]
110+
I --> J[FlowStep<br/>variables + frames]
111+
J --> K[JavaReferenceView]
112+
K --> L[Rendered Stack Frames<br/>main, &lt;init&gt;, showInfo, deposit, withdraw ...]
113+
114+
D -. excludes .-> X[java.*, javax.*, jdk.*, sun.*, com.sun.*]
115+
```
116+
117+
---
118+
96119
## Getting Started
97120

98121
### Prerequisites

0 commit comments

Comments
 (0)