# Support backlinks and graph view for internal links defined within Mermaid (Pele) diagrams

**URL:** <https://forum.obsidian.md/t/support-backlinks-and-graph-view-for-internal-links-defined-within-mermaid-pele-diagrams/14999>\
**Category:** Feature requests\
**Tags:** backlinks, mermaid, internal-links\
**Created:** [March 20, 2021, 5:50pm UTC](https://forum.obsidian.md/t/support-backlinks-and-graph-view-for-internal-links-defined-within-mermaid-pele-diagrams/14999 "2021-03-20T17:50:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![joell\_ti](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/b38774/32.png) [@joell\_ti](https://forum.obsidian.md/u/joell_ti)\
**Post date:** [March 20, 2021, 5:50pm UTC](https://forum.obsidian.md/t/support-backlinks-and-graph-view-for-internal-links-defined-within-mermaid-pele-diagrams/14999/1 "2021-03-20T17:50:06Z")

</div>

### Use case or problem

I use mermaid code to define internal links at the beginning of my notes for navigation purpose. Following is an example of the code which defines the note A contains two internal links to two other notes B and C.

```mermaid
graph LR

A(First note)
B(First note child one)
C(First note child two)

A --> B
A --> C

class A,B,C internal-link;

```

And as seen below, it renders properly in preview mode and I can jump to either note B or C by clicking on the rendered box for either one.

 ![image](https://forum.obsidian.md/uploads/default/original/2X/b/b6a9e61f0494a781999a1dd579eba98a51ccb8af.png)

But I also notice that while I’m in note B or C, note A doesn’t show up as backlink, as were when normal internal links to note B and C are present in note A.

I asked the same in Discord channel. Following is my initial message there. And I got one of the mods’ nod to post this.

> **[Discord - Group Chat That’s All Fun & Games](https://discord.com/channels/686053708261228577/694233507500916796/822878301126524966)**
>
> Discord is great for playing games and chilling with friends, or even building a worldwide community. Customize your own space to talk, play, and hang out.

Hope you will consider supporting this in the future because I don’t want to add duplicated internal links simply in order to make backlinks work again. Thanks in advance.

### Proposed solution

I think Obsidian should consider treating the internal links in Mermaid code the same way as those normal internal links. That means all the backlinking, linked mentioning and graph viewing should all work.

### Current workaround (optional)

Until the feature is in place I have to add duplicated normal internal links next to the mermaid version.

### Related feature requests (optional)

None

---

<div class="post-metadata">

**Author:** ![EleanorKonik](https://forum.obsidian.md/user_avatar/forum.obsidian.md/eleanorkonik/32/6180_2.png) [@EleanorKonik](https://forum.obsidian.md/u/EleanorKonik)\
**Post date:** [March 20, 2021, 5:57pm UTC](https://forum.obsidian.md/t/support-backlinks-and-graph-view-for-internal-links-defined-within-mermaid-pele-diagrams/14999/2 "2021-03-20T17:57:15Z")

</div>

I use Mermaid links a fair amount, mostly for things like “maps” of city trade routes, and would get value out of those pages showing up on backlinks.

(Related, it would be _amazing_ if dataview’s links got support too \>.\>)

---

<div class="post-metadata">

**Author:** ![Alex0](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/a/9de0a6/32.png) [@Alex0](https://forum.obsidian.md/u/Alex0)\
**Post date:** [April 16, 2021, 12:49pm UTC](https://forum.obsidian.md/t/support-backlinks-and-graph-view-for-internal-links-defined-within-mermaid-pele-diagrams/14999/3 "2021-04-16T12:49:17Z")

</div>

same problem, please implement this

---

<div class="post-metadata">

**Author:** ![lex.md](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/l/dfb087/32.png) [@lex.md](https://forum.obsidian.md/u/lex.md)\
**Post date:** [March 19, 2022, 11:08pm UTC](https://forum.obsidian.md/t/support-backlinks-and-graph-view-for-internal-links-defined-within-mermaid-pele-diagrams/14999/4 "2022-03-19T23:08:24Z")

</div>

Yes, this would be great to have.

---

<div class="post-metadata">

**Author:** ![Juner](https://forum.obsidian.md/user_avatar/forum.obsidian.md/juner/32/7251_2.png) [@Juner](https://forum.obsidian.md/u/Juner)\
**Post date:** [May 26, 2022, 7:14am UTC](https://forum.obsidian.md/t/support-backlinks-and-graph-view-for-internal-links-defined-within-mermaid-pele-diagrams/14999/5 "2022-05-26T07:14:30Z")

</div>

+1,would be great to have.

---

<div class="post-metadata">

**Author:** ![jyc\_biz](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/ce7236/32.png) [@jyc\_biz](https://forum.obsidian.md/u/jyc_biz)\
**Post date:** [May 29, 2026, 2:52pm UTC](https://forum.obsidian.md/t/support-backlinks-and-graph-view-for-internal-links-defined-within-mermaid-pele-diagrams/14999/6 "2026-05-29T14:52:48Z")

</div>

+1, would love to see this implemented!

---

<div class="post-metadata">

**Author:** ![shutelman](https://forum.obsidian.md/user_avatar/forum.obsidian.md/shutelman/32/18250_2.png) [@shutelman](https://forum.obsidian.md/u/shutelman)\
**Post date:** [August 11, 2021, 4:11pm UTC](https://forum.obsidian.md/t/support-backlinks-and-graph-view-for-internal-links-defined-within-mermaid-pele-diagrams/14999/7 "2021-08-11T16:11:28Z")

</div>

Hello, at the moment, the mermaid is an excellent analogue for building mental maps, flowcharts and diagrams in obsidian, which I actively use, and with the ability to add internal links in new versions, the functionality of the mermaid has greatly increased. The only problem in my opinion is that such links and links between different notes are not displayed as a graph view. I would like to ask the developers to add this feature to Obsidian, it will be a very powerful innovation that will be able to transfer the construction of flowcharts, diagrams and mental maps in Obsidian to a new level.
