graph TD
A[Final Assembler Agent] --> B[Content Collection Phase]
B --> C1[Collect Course Outline]
B --> C2[Collect Lesson Content]
B --> C3[Collect Practical Exercises]
B --> C4[Collect Assessment Materials]
B --> C5[Collect References]
B --> C6[Collect Image URLs]
C1 & C2 & C3 & C4 & C5 & C6 --> D[Document Assembly Phase]
D --> E1[Merge Text Content]
D --> E2[Apply Formatting]
D --> E3[Insert Image Placeholders]
E1 & E2 & E3 --> F[PDF Creation Phase]
F --> G1[Initialize PDF Creator]
F --> G2[Set Document Structure]
F --> G3[Insert Content Sections]
F --> G4[Add Images]
G1 & G2 & G3 & G4 --> H[Generate Final PDF]
H --> I[Output smart_home_iot_course.pdf]
subgraph Content Dependencies
C1 -.-> |Requires| J1[Outline Builder Output]
C2 -.-> |Requires| J2[Lesson Author Output]
C3 -.-> |Requires| J3[Exercise Designer Output]
C4 -.-> |Requires| J4[Assessment Creator Output]
C5 -.-> |Requires| J5[Reference Curator Output]
end