Open wildmichael opened 2 years ago
I can confirm that the problem is still present with the latest mermaid-cli docker image
I can still confirm that the problem is present with the latest mermaid-cli docker image....
For anyone run into this issue try to set puppeteer to run in headful mode; I am not sure but it seems because of the chromium version used by puppeteer on my m1 machine works as expected however on x64 intel machine this issue seems to appear. maybe we should find a more stable chromium version to fix this at root lvl. Also the display size seems to affect this as well.
Describe the bug When using
mmdc
to convert aC4Context
diagram, the layout configuration value$c4ShapeInRow
has no effect.To Reproduce Steps to reproduce the behavior:
*.mmd
file with aC4Context
diagram that contains at least 3 elementsUpdateLayoutConfig($c4ShapeInRow="3")
(or any number >= 3)mmdc
to convert the diagram, e.g. to PNG, e.g. as:Expected behavior The number of elements per row configured with
UpdateLayoutConfig($c4ShapeInRow="3")
should be respected.Screenshots
Input:
Output of
mmdc
:Output of live editor:
Desktop: