-
-
Notifications
You must be signed in to change notification settings - Fork 274
Open
Description
even though kroki parses a example mmd with the following content withtout error, it is still drawn with dagre instead of elk:
---
config:
layout: elk
theme: forest
flowchart:
defaultRenderer: elk
elk:
mergeEdges: true
nodePlacementStrategy: NETWORK_SIMPLEX
considerModelOrder: NODES_AND_EDGES
---
%% Component diagram high level
graph LR
subgraph Infrastructure
PG[(Postgres)]
REDIS[(Redis)]
CADV[cAdvisor]
OTEL[OpenTelemetry Collector]
SKY[SkyWalking / APM]
end
in the chunk for flowDiagram we find:
Q.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using dagre layout as a fallback.")
apparently since mermaid v11 alternative layout have been moved to separate packages like
https://github.com/mermaid-js/mermaid/releases/tag/%40mermaid-js%2Flayout-tidy-tree%400.2.0
https://github.com/mermaid-js/mermaid/releases/tag/%40mermaid-js%2Flayout-elk%400.2.0
so we need integration of these renderers?
tijlk and lucaspouzac
Metadata
Metadata
Assignees
Labels
No labels