MermaidDrawMethod Class — langchain Architecture
Architecture documentation for the MermaidDrawMethod class in graph.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD c5c5a729_6cc3_fa70_f000_4fd47294ea03["MermaidDrawMethod"] 81a6280b_4752_84db_f1fa_1a3b8040d481["graph.py"] c5c5a729_6cc3_fa70_f000_4fd47294ea03 -->|defined in| 81a6280b_4752_84db_f1fa_1a3b8040d481
Relationship Graph
Source Code
libs/core/langchain_core/runnables/graph.py lines 169–175
class MermaidDrawMethod(Enum):
"""Enum for different draw methods supported by Mermaid."""
PYPPETEER = "pyppeteer"
"""Uses Pyppeteer to render the graph"""
API = "api"
"""Uses Mermaid.INK API to render the graph"""
Defined In
Source
Frequently Asked Questions
What is the MermaidDrawMethod class?
MermaidDrawMethod is a class in the langchain codebase, defined in libs/core/langchain_core/runnables/graph.py.
Where is MermaidDrawMethod defined?
MermaidDrawMethod is defined in libs/core/langchain_core/runnables/graph.py at line 169.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free