How to make obsidian mermaid integration support inter-subgraph link in flowchart

issue

mermaid supports inter-subgraph link for flowchart diagram type:
Pasted image 20220726145254
however obsidian mermaid codeblock does not render link properly:

```mermaid
flowchart TB  
    c1-->a2  
    subgraph one  
    a1-->a2  
    end  
    subgraph two  
    b1-->b2  
    end  
    subgraph three  
    c1-->c2  
    end  
    one --> two  
    three --> two  
    two --> c2
```

want to do

get obsidian mermaid render inter-subgraph link for flowchart.

It is a feature of mermaid rather than a bug of obsidian.

The space behind the subgraph title would lead mermaid to get misread. You could use the mermaid live editor to confirm that.

The inter-subgraph works find after delete the space on obsidian v0.15.8.

Moz.

1 Like