Opened 10 years ago

Add configuration option for image type of workflow diagram

Reported by: Owned by: Stephan Wurm Jun Omae normal TracWorkflowAdminPlugin normal image type 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.

Changed 10 years ago by Stephan Wurm

Added functionality to chose the image type of workflow diagrams in trac.ini

comment:1 Changed 10 years ago by Jun Omae

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 8 years ago by anonymous

Please offers for this option an example how that should look like in the trac.ini

comment:3 Changed 7 years ago by komar@…

I have same problem with unreadable diagram, and this settings solve problem

[workflow-admin]
diagram_size = 20, 20


comment:4 Changed 3 years ago by Ryan J Ollos

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 23 months ago by trac.domain.gauner@…

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.

Modify Ticket

Change Properties