Opened 12 years ago
Last modified 4 years ago
#10770 new enhancement
Add configuration option for image type of workflow diagram
Reported by: | Stephan Wurm | Owned by: | Jun Omae |
---|---|---|---|
Priority: | normal | Component: | TracWorkflowAdminPlugin |
Severity: | normal | Keywords: | image type |
Cc: | Trac Release: | 0.12 |
Description
It would be nice to use all image types dot is supporting to generate the workflow diagram. Especially with complex workflows the PNG image is almost unreadable and SVG would be the better choice.
I already have added a sample implementation.
Attachments (1)
Change History (6)
Changed 12 years ago by
comment:1 Changed 12 years ago by
Good idea and thanks. I tried the attached source. But the generated svg image is also large and unreadable with complex workflows. It would be good to zoom the workflow images.
comment:2 Changed 10 years ago by
Please offers for this option an example how that should look like in the trac.ini
comment:3 Changed 9 years ago by
I have same problem with unreadable diagram, and this settings solve problem
[workflow-admin] diagram_size = 20, 20
comment:4 Changed 5 years ago by
Trac has added the [[Workflow]]
macro after TracWorkflowAdminPlugin was developed. TracWorkflowAdminPlugin could render the graph using the code provided by the WorkflowMacro
class. Some refactoring of the WorkflowMacro
class might be needed in order to utilize the code.
comment:5 Changed 4 years ago by
Actually, I landed here while looking for a way to use the layout of the diagram in TracWorkflowAdminPlugin inside a wiki page, instead of the digram rendered by the WorkflowMacro - I like it much less - it is less clear. Is there a way making the WorkflowMacro render the diagram the same clear way as TracWorkflowAdminPlugin does? Otherwise, I'd plead to not use the WorkflowMacro code.
Added functionality to chose the image type of workflow diagrams in trac.ini