Open
Description
Feature Description
Hi,
I love the ability to use Mermaid directly from markdown, but there is one very useful feature missing: the ability to use the "elk" layout/renderer.
I tried both the layout
and defaultRenderer
configuration options (still not sure what's the difference), and passing those via front-matter and directives, but none seems to work.
Code:
---
config:
layout: elk
flowchart:
defaultRenderer: elk
---
%%{ init: { "layout": "elk", "flowchart": { "defaultRenderer": "elk" } } }%%
flowchart TB
A --> B
A --> C --> B
Screenshots
Rendered with the live editor, setting layout: dagre
and layout: elk
:
With Gitea: