# Feature Request: Allow custom Mermaid API URL

**URL:** <https://forum.langchain.com/t/feature-request-allow-custom-mermaid-api-url/1472>\
**Category:** LangGraph\
**Tags:** python-help\
**Created:** [September 5, 2025, 6:03pm UTC](https://forum.langchain.com/t/feature-request-allow-custom-mermaid-api-url/1472 "2025-09-05T18:03:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dcbark01](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/dcbark01/32/866_2.png) [@dcbark01](https://forum.langchain.com/u/dcbark01)\
**Post date:** [September 5, 2025, 6:03pm UTC](https://forum.langchain.com/t/feature-request-allow-custom-mermaid-api-url/1472/1 "2025-09-05T18:03:29Z")

</div>

Currently, `langchain_core.runnables.graph_mermaid.py` is hardcoded to use mermaid.ink to render graph diagrams. It would be nice to allow users to specify a custom URL, e.g. for self-hosted instances of the Mermaid server.

~~Planning to submit a PR for this momentarily.~~ Edit: [Link to PR](https://github.com/langchain-ai/langchain/pull/32831)
