Skip to main content

7. Interactive Dashboard

7.1 Dashboard Architecture

The dashboard provides an interactive interface for code intelligence exploration:

Figure 10: Dashboard Architecture - Three-tier architecture showing browser client, server components, and data sources.

7.2 Dashboard Pages

PageFunctionData Source
OverviewRepo stats, language breakdownindex.json
Hypergraph3-level drill-down: files → symbols → neighborhoodgraph.json
FilesHierarchical file browser with entity countsgraph.json
File ViewerSyntax-highlighted source + entity sidebargraph.json + raw files
RelationshipsFiltered tables (imports, calls, extends)graph.json
RulesLoaded BSG rule plugins and metadatabatho.yaml + plugin registry
MetricsIndexing performance, cache hit ratesmetrics.json
SnapshotsTime Machine list with diff capabilitiessnapshots/
SearchFull-text entity and file searchComputed endpoint

7.3 Launch Options

# Default launch
batho dashboard --root .

# Custom port
batho dashboard --root . --port 3000

# External access
batho dashboard --root . --host 0.0.0.0

# Skip browser auto-open
batho dashboard --root . --no-browser

7.4 Keyboard Shortcuts

ShortcutAction
Ctrl/Cmd + KGlobal search
Ctrl/Cmd + DToggle dark mode
Ctrl/Cmd + 0Reset zoom (graph)
Ctrl/Cmd + +Zoom in (graph)
Ctrl/Cmd + -Zoom out (graph)
GToggle grid (graph)
FFit to screen (graph)

7.5 Export Options

FormatCommand
PNGRight-click graph → Export PNG
SVGRight-click graph → Export SVG
JSONbatho export --format json --root .
CSVbatho export --format csv --root .