AshDiagram.Flowchart.Edge (AshDiagram v0.2.1)

View Source

Represents an edge/link between nodes in a flowchart.

Summary

Functions

Composes the Mermaid syntax for an edge.

Types

t()

@type t() :: %AshDiagram.Flowchart.Edge{
  from: iodata(),
  label: iodata() | nil,
  label_style: :pipe | :text | nil,
  style_class: iodata() | nil,
  to: iodata(),
  type: type()
}

type()

@type type() ::
  :cross
  | :bidirectional
  | :invisible
  | :thick_line
  | :thick_arrow
  | :dotted_line
  | :dotted_arrow
  | :arrow
  | :circle
  | :line

Functions

compose(edge)

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

Composes the Mermaid syntax for an edge.