# Obsidian mermaid does not recognize treeView type

**URL:** <https://forum.obsidian.md/t/obsidian-mermaid-does-not-recognize-treeview-type/116348>\
**Category:** Help\
**Tags:** mermaid\
**Created:** [July 22, 2026, 7:17pm UTC](https://forum.obsidian.md/t/obsidian-mermaid-does-not-recognize-treeview-type/116348 "2026-07-22T19:17:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![svsvc](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/s/4af34b/32.png) [@svsvc](https://forum.obsidian.md/u/svsvc)\
**Post date:** [July 22, 2026, 7:17pm UTC](https://forum.obsidian.md/t/obsidian-mermaid-does-not-recognize-treeview-type/116348/1 "2026-07-22T19:17:53Z")

</div>

### What I’m trying to do

Use a treeView diagram as documented at [TreeView Diagram (v11.14.0+) | Mermaid](https://mermaid.ai/open-source/syntax/treeView.html)

### Things I have tried

Specifying diagram type in a mermaid codeblock as `treeView` as well as `treeView-beta` (as shown in linked documentation above); searched in forum and obsidian docs.

Based on other mermaid posts in the forum, I am assuming that the version of the mermaid lib in Obsidian is older than needed to support that diagram type, but it also looks from those posts like I can’t manually update that lib to test if that’s the case.

---

<div class="post-metadata">

**Author:** ![oldsagemonkey](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/o/a3d4f5/32.png) [@oldsagemonkey](https://forum.obsidian.md/u/oldsagemonkey)\
**Post date:** [July 22, 2026, 7:48pm UTC](https://forum.obsidian.md/t/obsidian-mermaid-does-not-recognize-treeview-type/116348/2 "2026-07-22T19:48:59Z")

</div>

It’s not supported in Obsidian yet, but there is a plugin called Mermaid ELK Renderer that allows you to install the latest Mermaid and use it in Obsidian.

> **[GitHub - SmolBlackHole/mermaid-elk-renderer](https://github.com/smolblackhole/mermaid-elk-renderer)**
>
> Contribute to SmolBlackHole/mermaid-elk-renderer development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![bassist\_by\_night](https://forum.obsidian.md/user_avatar/forum.obsidian.md/bassist_by_night/32/84493_2.png) [@bassist\_by\_night](https://forum.obsidian.md/u/bassist_by_night)\
**Post date:** [October 15, 2026, 3:02pm UTC](https://forum.obsidian.md/t/obsidian-mermaid-does-not-recognize-treeview-type/116348/3 "2026-10-15T15:02:15Z")

</div>

Thank you! I installed this plugin and it works like a charm!
