Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderWorkflowGraph ¶
func RenderWorkflowGraph(wf *workflow.Workflow, width int, styles GraphStyles) string
RenderWorkflowGraph produces a styled string visualising the workflow as a layered directed graph that fits within the given width.
Types ¶
type Config ¶
type Config struct {
ServerURL string
APIKey string
BoardSlug string // if set, skip the selector
Program **tea.Program // set after tea.NewProgram; pointer-to-pointer so the model copy shares it
}
Config holds the TUI configuration.
type GraphStyles ¶
type GraphStyles struct {
InitialState lipgloss.Style
TerminalState lipgloss.Style
DefaultState lipgloss.Style
Arrow lipgloss.Style
Label lipgloss.Style
}
GraphStyles controls the appearance of rendered workflow graphs.
Click to show internal directories.
Click to hide internal directories.