LangGraph · Lesson 12 of 120
Basics Quiz
Test yourself.
Let's check the basics. Pause after each question, and answer before I do.

- Basics quiz
- Pause and think
- Then check
Question 1
What do nodes return? A dictionary of updates to the state.
Quick check
Nodes return:
Question 2
What does compile do? It checks the builder and makes a runnable graph.
Quick check
compile():
Question 3
A graph has no edge from start. What happens? Compile raises an error.
Quick check
No edge from START:
Question 4
Which method draws the graph as text? Draw mermaid.
Quick check
Draw as text:
Summary
Well done. Next, graphs that choose their own path, with conditional edges.
Key takeaways- Nodes return updates
- compile checks
- draw_mermaid
Next up: Conditional Edges — choosing a path