Modify

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)

web_ui.py (28.2 KB) - added by Stephan Wurm 12 years ago.
Added functionality to chose the image type of workflow diagrams in trac.ini

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by Stephan Wurm

Attachment: web_ui.py added

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

comment:1 Changed 12 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 10 years ago by anonymous

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

comment:3 Changed 9 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 5 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 4 years 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
Set your email in Preferences
Action
as new The owner will remain Jun Omae.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.