AshDiagram.Flowchart.Style (AshDiagram v0.2.1)

View Source

Represents styling information for flowchart nodes and edges.

Summary

Functions

Composes the Mermaid syntax for styling.

Types

style_type()

@type style_type() :: :class | :node | :direct | :click | :href

t()

@type t() :: %AshDiagram.Flowchart.Style{
  action: iodata() | nil,
  classes: [iodata()] | nil,
  id: iodata() | nil,
  name: iodata() | nil,
  properties: %{required(String.t()) => String.t()} | nil,
  tooltip: iodata() | nil,
  type: style_type(),
  url: iodata() | nil
}

Functions

compose(style)

@spec compose(t()) :: iodata()

Composes the Mermaid syntax for styling.