graph TD
A[Start Article Assembly] --> B[Load Input Data]
B --> C[Load JSON Steps]
B --> D[Load PNG Images]
B --> E[Load Transcription]
C & D & E --> F[Generate Base Structure]
F --> G[Create Title & Intro]
G --> H[Process Steps Loop]
H --> I[Format Step 1]
I --> J[Embed Image 1]
H --> K[Format Step 2]
K --> L[Embed Image 2]
H --> M[Format Step 3]
M --> N[Embed Image 3]
H --> O[Format Step 4]
O --> P[Embed Image 4]
H --> Q[Format Step 5]
Q --> R[Embed Image 5]
H --> S[Format Step 6]
S --> T[Embed Image 6]
J & L & N & P & R & T --> U[Write Conclusion]
U --> V[Final Assembly]
V --> W[Format Check]
W --> X[Output Markdown]
X --> Y[End Process]