Versions in this module Expand all Collapse all v0 v0.2.2 Jul 5, 2026 Changes in this version + func NodeLabelWithWidth(n *trace.Node, nWidth int) string + type LayoutParams struct + HGap int + NodeHeight int + NodeWidth int + VGap int + func DefaultLayoutParams() LayoutParams type LayoutResult + func ComputeLayoutWithParams(g *trace.TraceGraph, params LayoutParams) *LayoutResult v0.2.1 Apr 27, 2026 Changes in this version type AnnotatedPath + CompilationValue int + DataFlowEdges []DataFlowAnnotation type Canvas + func (c *Canvas) SetEdge(x, y int, ch rune, style lipgloss.Style) + type DataFlowAnnotation struct + FlowTokens []string + FromStep int + ToStep int v0.2.0 Apr 13, 2026 Changes in this version + func HighlightNode(c *Canvas, ln *LayoutNode) + func NodeLabel(n *trace.Node) string + func RenderViewport(c *Canvas, vpX, vpY, width, height int) string + func RunGraph(graph *trace.TraceGraph) error + func SortedNodeIDs(layout *LayoutResult) []uint64 + func UnhighlightNode(c *Canvas, ln *LayoutNode) + type Canvas struct + Cells [][]rune + Height int + Styles [][]lipgloss.Style + Width int + func NewCanvas(width, height int) *Canvas + func RenderCanvas(layout *LayoutResult, g *trace.TraceGraph) *Canvas + func (c *Canvas) Set(x, y int, ch rune, style lipgloss.Style) + func (c *Canvas) SetString(x, y int, s string, style lipgloss.Style) + type GraphModel struct + func NewGraphModel(graph *trace.TraceGraph, layout *LayoutResult, canvas *Canvas) GraphModel + func (m GraphModel) Init() tea.Cmd + func (m GraphModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) + func (m GraphModel) View() string + type LayoutNode struct + Height int + ID uint64 + Label string + Layer int + Order int + Width int + X int + Y int + type LayoutResult struct + Nodes map[uint64]*LayoutNode + TotalHeight int + TotalWidth int + func ComputeLayout(g *trace.TraceGraph) *LayoutResult v0.1.9 Apr 13, 2026 v0.1.8 Apr 13, 2026 Changes in this version + func Run(paths []AnnotatedPath, graph *trace.TraceGraph) error + type AnnotatedPath struct + Confidence float64 + Labels []string + Path trace.HotPath + Pattern *trace.Pattern + Savings int + type Model struct + func NewModel(paths []AnnotatedPath, graph *trace.TraceGraph) Model + func (m Model) Init() tea.Cmd + func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) + func (m Model) View() string