Ticket #7211 (closed enhancement: fixed)
Opened 4 years ago
Last modified 4 years ago
Update workflow_parser.py to show closed resolution states
| Reported by: | scottb@… | Owned by: | ecarter |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | ticket system | Version: | |
| Severity: | normal | Keywords: | workflow graphviz |
| Cc: | scottb@… | ||
| Release Notes: | |||
| API Changes: | |||
Description
The workflow_parser.py code in contrib is a utility to import a Trac workflow and convert it to a pretty picture using GraphViz?. Currently all transitions to a closed state look alike. It would be nice if the resolution states were displayed for these Closed state transitions so you could better tell what's going on.
Attachments
Change History
comment:1 Changed 4 years ago by ecarter
- Component changed from general to ticket system
- Owner changed from jonas to ecarter
Changed 4 years ago by scottb@…
- Attachment workflow_parser.py.patch added
comment:2 Changed 4 years ago by scottb@…
I attached a patch for workflow_parser.py to add closed state resolution information to transition titles. I just realized that the patch I attached also removes a rotation in the output that's generated by graphviz. The existing code generates PNG files that are rotated 90 degrees, this fixes it so the diagrams are right-side-up. This is really an unrelated issue that accidentally got included in the patch (though I found it handy).
comment:3 Changed 4 years ago by ecarter
- Resolution set to fixed
- Status changed from new to closed



Patch to add resolution states to diagrams