Files
beads/cmd/bd
Charles P. Cross 77d8a995e8 feat(graph): use subgraph to display dependency counts
Restore the subgraph parameter in renderGraph (previously marked as
unused with _) and use it to display meaningful dependency information:

- Add computeDependencyCounts() to calculate blocks/blocked-by counts
- Add renderNodeBoxWithDeps() to render nodes with dependency info
- Show "blocks:N" when an issue blocks N other issues
- Show "needs:N" when an issue depends on N other issues
- Add dependency summary showing total blocking relationships

This makes the graph visualization more informative by showing how
issues relate to each other in the dependency chain.

Tests added:
- TestComputeDependencyCounts: verifies dependency counting logic
- TestRenderNodeBoxWithDeps: verifies box rendering with dep info

Co-authored-by: Charles P. Cross <cpdata@users.noreply.github.com>
2025-12-18 20:35:00 -08:00
..
2025-12-16 17:26:06 -08:00
2025-12-16 01:17:25 -08:00
2025-12-16 01:17:25 -08:00
2025-12-07 20:57:58 +11:00
2025-12-18 00:27:59 -08:00
2025-12-16 17:50:25 -08:00
2025-11-24 21:16:44 -08:00
2025-11-24 11:28:32 -08:00
2025-11-23 17:16:27 -08:00
2025-12-18 00:27:59 -08:00