-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Closed
Labels
type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
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:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.



