Dependency weight on module arrows #10

Closed
opened 2026-06-16 14:48:33 +00:00 by GKaszewski · 0 comments
Owner

What to build

Show the number of type-level relationships crossing each module boundary as a weight on the module-level diagram arrows. Thicker arrows or labels (e.g. A --"12 deps"--> B) indicate higher coupling between modules.

Helps identify which module boundaries have the most coupling and are candidates for refactoring.

Acceptance criteria

  • Module-level edges annotated with crossing relationship count
  • Mermaid renderer shows count as edge label
  • ASCII renderer shows count next to arrow
  • Optional --no-weights flag to disable
  • Tests verify weight calculation and rendering

Blocked by

None - can start immediately

## What to build Show the number of type-level relationships crossing each module boundary as a weight on the module-level diagram arrows. Thicker arrows or labels (e.g. `A --"12 deps"--> B`) indicate higher coupling between modules. Helps identify which module boundaries have the most coupling and are candidates for refactoring. ## Acceptance criteria - [ ] Module-level edges annotated with crossing relationship count - [ ] Mermaid renderer shows count as edge label - [ ] ASCII renderer shows count next to arrow - [ ] Optional `--no-weights` flag to disable - [ ] Tests verify weight calculation and rendering ## Blocked by None - can start immediately
GKaszewski added the P4 label 2026-06-17 06:46:18 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GKaszewski/archlens#10