?
PLOW-15
feature,visualization
Created: 2025-12-21 Updated: 2025-12-21
Relationships Loading...
Attachments
Loading...
Comments (1)
agent · 2025-12-21
## Implementation Complete ### What was done Created `src/trckr_plow/visualization.py` module with `build_workflow_graph()` function that: - Reads workflow_steps from `status_transitions.yml` to create nodes - Reads status_routing from `status_transitions.yml` to create edges - Returns a NetworkX MultiDiGraph (allows multiple edges between same nodes) ### Key implementation details - Module reads YAML directly to get workflow_steps section - Used `_get_source_step()` helper to map routing keys to source step names - Each node has: step_number, name, description attributes - Each edge has: status, routing_key, description attributes ### Files created - `src/trckr_plow/visualization.py` - New module - `tests/test_visualization.py` - 21 comprehensive tests ### Verification - All 21 new tests pass - All 506 total project tests pass - Linting passes - Graph correctly contains all 12 workflow steps as nodes