You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
matches the likec4 preview server, which uses the bundled wasm layout
engine. the previous default required graphviz to be installed and
silently produced layouts differing from the preview, which surprised
users. opt into graphviz with use_dot: true.
Copy file name to clipboardExpand all lines: docs/index.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
## Requirements
6
6
7
7
-[`likec4`](https://likec4.dev/tooling/cli/)
8
-
-`graphviz`dependency (see also [use_dot](#use_dot)below)
8
+
-`graphviz`(optional, only when [use_dot](#use_dot)is enabled)
9
9
10
10
Check out the sample [Dockerfile](https://github.com/doubleSlashde/mkdocs-likec4/blob/main/Dockerfile) for how you can provide the likec4 and graphviz dependencies.
11
11
@@ -32,15 +32,15 @@ That's it! The plugin automatically:
32
32
33
33
### use_dot
34
34
35
-
By default mkdocs-likec4 uses local graphviz binaries instead of bundled WASM (as it has [memory issues](https://github.com/likec4/likec4/issues?q=Memory%20type:Bug)).
35
+
By default mkdocs-likec4 uses the bundled WASM layout engine, matching the behaviour of the `likec4` preview server.
36
36
37
-
You can override it with the `use_dot: false` setting:
37
+
You can opt into local graphviz binaries (which avoids known WASM [memory issues](https://github.com/likec4/likec4/issues?q=Memory%20type:Bug)) with `use_dot: true`. Note that this might result in a different layout than what the LikeC4 preview renders.
0 commit comments