print_ascii() — langchain Function Reference
Architecture documentation for the print_ascii() function in graph.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 9c4e946d_188d_0cd3_079c_100fc4754311["print_ascii()"] 646f3bb5_a594_563e_cfbf_e18bdc9efb90["Graph"] 9c4e946d_188d_0cd3_079c_100fc4754311 -->|defined in| 646f3bb5_a594_563e_cfbf_e18bdc9efb90 13a11804_e143_4f7c_50b4_b373c1d17c72["draw_ascii()"] 9c4e946d_188d_0cd3_079c_100fc4754311 -->|calls| 13a11804_e143_4f7c_50b4_b373c1d17c72 style 9c4e946d_188d_0cd3_079c_100fc4754311 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/langchain_core/runnables/graph.py lines 521–523
def print_ascii(self) -> None:
"""Print the graph as an ASCII art string."""
print(self.draw_ascii()) # noqa: T201
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does print_ascii() do?
print_ascii() is a function in the langchain codebase, defined in libs/core/langchain_core/runnables/graph.py.
Where is print_ascii() defined?
print_ascii() is defined in libs/core/langchain_core/runnables/graph.py at line 521.
What does print_ascii() call?
print_ascii() calls 1 function(s): draw_ascii.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free