You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(tui): Enhanced wallet explorer UX with depth control
Major improvements to the TUI wallet explorer interface:
**Canvas-Based Graph Rendering:**
- Replaced tui-nodes with Canvas for 10K+ node scalability
- Implemented hierarchical layout (inflows left, target center, outflows right)
- Added viewport system with pan (WASD) and zoom (+/-)
- Fixed graph not rendering (was showing as list)
**Enhanced Visibility:**
- Changed edges to bright cyan (Color::Cyan) for maximum visibility
- Increased node size from radius 2.0 → 3.0
- Doubled pan speed (10.0 → 20.0 units) for smoother navigation
- All node labels now display (not just selected)
**Dynamic BFS Depth Control:**
- Added max_depth (1-20) and current_depth tracking
- Implemented [ and ] keybindings to adjust exploration depth
- Graph title shows "depth:current/max" status
- Updated help overlay with depth control instructions
- Bounds checking prevents unrealistic depth values
**Help System:**
- Scrollable help overlay with j/k navigation
- Shows scroll position "Help (1/36)"
- Added comprehensive keybinding reference
- Updated About section with depth range info
**Technical Changes:**
- GraphInput enum: Added IncreaseDepth/DecreaseDepth variants
- WalletGraph: Added max_depth/current_depth fields
- Compute hierarchical layout on-demand in render()
- Non-blocking try_lock() prevents UI freezing
- Fixed MCP response parsing for nested JSON
This addresses all UX issues: graph visualization, edge visibility,
navigation controls, and exploration depth management.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments