emarco177 / langgaph-course

Apache License 2.0
223 stars 74 forks source link

add ascii draw & refactoring #3

Open rdawoud opened 5 months ago

rdawoud commented 5 months ago

-- Simplified Graph Structure: Moved all conditional edge logic into a node function. This change reduces redundancy and makes the graph structure easier to understand and maintain. -- ASCII Visualization: Integrated ASCII visualization for each node execution. Utilized the dot_to_ascii function to convert DOT graph representations into ASCII art. This enhancement provides a clear, textual representation of the graph's state, aiding in debugging and understanding the flow.

rdawoud commented 5 months ago

image

the logic highlight the current node when executed to better understand the location