Skip to main content

2 posts tagged with "LangGraph"

LangGraph, the Low-Level Runtime for Long-Running, Stateful AI Agents

View All Tags

Fixed: LangChain draw_mermaid() Diagram Labels Unreadable in Dark Mode

· 12 min read
Jagdish Kumawat
Founder @ Dewiride

I drew a LangChain agent with agent.get_graph().draw_mermaid() and viewed the diagram in dark mode, and three of its four labels almost vanished: light grey text on pale boxes. The Mermaid text colours the boxes but leaves the text colour to the renderer's theme, and dark themes draw light text. A NodeStyles with a dark text colour and a white start box made every label readable, in dark mode and in light.