Conclusion
Conclusion
In this lesson, you learned about the graph data structure with its nodes and edges. LangGraph also uses graphs to organize agent workflows. The nodes wrap functions that modify state. The edges determine the order that the nodes run in. State in a graph can be as simple as function input and output, or you can define more complex schema using a custom State class.
In the next lesson, you’ll learn how to build more complex graphs. This will include adding conditional edges for decision-making. See you there!