Mermaid and subgraphs

When defining links to subgraphs, an error is displayed, instead of a chart:

Error parsing Mermaid diagram!

Cannot set properties of undefined (setting 'rank')

Mermaid code:

graph TD
    A --> S
    subgraph S
        C --> D
    end

Works fine on live editor online.

We don’t support this yet