AshDiagram.Flowchart.Subgraph (AshDiagram v0.2.1)

View Source

Represents a subgraph in a flowchart that can contain nodes, edges, and nested subgraphs.

Summary

Functions

Composes the Mermaid syntax for a subgraph.

Types

direction()

@type direction() :: :right_left | :left_right | :bottom_top | :top_bottom

t()

@type t() :: %AshDiagram.Flowchart.Subgraph{
  direction: direction() | nil,
  entries: [AshDiagram.Flowchart.Node.t() | AshDiagram.Flowchart.Edge.t() | t()],
  id: iodata(),
  label: iodata() | nil,
  style_class: iodata() | nil
}

Functions

compose(subgraph)

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

Composes the Mermaid syntax for a subgraph.