MermaidSpec

Properties

Link copied to clipboard
abstract val animateLinks: Property<Boolean>

When set to true, all links between modules will have a pretty animation applied to them.

Link copied to clipboard

Set a custom layout engine for the diagram. Unset by default, but mermaid will fall back to "dagre". Use MermaidLayoutSpec.properties to set any custom key/value properties. See the Mermaid docs

Link copied to clipboard
abstract val look: Property<Look>

Also controlled by the atlas.mermaid.chart.look Gradle property. Defaults to unset. See the Mermaid docs

Link copied to clipboard
abstract val theme: Property<Theme>

Also controlled by the atlas.mermaid.chart.theme Gradle property. Defaults to unset. See the Mermaid docs

Link copied to clipboard

Configure some global variables to apply to the module diagram itself.

Functions

Link copied to clipboard
abstract fun elk(action: Action<ElkLayoutSpec>? = null)

Configure ELK as a layout engine.

Link copied to clipboard
abstract fun layout(action: Action<MermaidLayoutSpec>)
Link copied to clipboard
abstract fun themeVariables(action: Action<MermaidThemeVariablesSpec>)