Documentation
¶
Overview ¶
Package diagram generates workflow visualizations from profiles.
Supports generating D2 and Mermaid diagram source code from profile synthesis rules and workflow definitions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// Title is the diagram title.
Title string
// Direction is the flow direction (down, right, left, up).
Direction string
// ShowLegend includes a legend in the diagram.
ShowLegend bool
// IncludeOptional includes optional specs in the diagram.
IncludeOptional bool
}
Options configures diagram generation.
func DefaultOptions ¶
func DefaultOptions() Options
DefaultOptions returns sensible defaults for diagram generation.
Click to show internal directories.
Click to hide internal directories.