Package-level declarations

Types

Link copied to clipboard

Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting. Default value is NodesAndEdges. See the Mermaid docs

Link copied to clipboard

This strategy decides how to find cycles in the graph and deciding which edges need adjustment to break loops. Default value is GreedyModelOrder. See the Mermaid docs

Link copied to clipboard

Configures the ELK layout engine in Mermaid.

Link copied to clipboard
Link copied to clipboard

Defaults to Classic. See the Mermaid docs

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Serializable
class MermaidConfig(val displayLinkLabels: Boolean? = null, val layout: String? = null, val layoutProperties: Map<String, String>? = null, val themeVariables: Map<String, String>? = null, val look: Look? = null, val theme: Theme? = null, val animateLinks: Boolean? = null) : Serializable

Used to configure the atlas.mermaid.tasks.WriteMermaidChart tasks.

Link copied to clipboard

Supports future layout engine configurations. Currently only supports ElkLayoutSpec.

Link copied to clipboard

https://mermaid.js.org/syntax/flowchart.html#links-between-nodes

Link copied to clipboard

From the Mermaid docs. Atlas won't validate any of these values, so you need to make sure they're in the right format. E.g. strokeDashArray as an array of integers like "5 5", strokeWidth as a pixel size ("5px") or an integer ("5"). See the above link for the expected formats.

Link copied to clipboard
Link copied to clipboard

Global diagram configuration properties.

Link copied to clipboard

ElkLayoutSpec-specific option affecting how nodes are placed. Default value is BrandesKoepf. See the Mermaid docs

Link copied to clipboard