TracWorkflowAdminPlugin configuration

18 views
Skip to first unread message

Roger Oberholtzer

unread,
Jan 13, 2017, 5:11:08 AM1/13/17
to trac-...@googlegroups.com
Is it possible to change the size of the workflow image in
TracWorkflowAdminPlugin? The one that gets generated for me is far too
small to see: 576 x 205

I have tried adding this to trac.ini:

[workflow-admin]
diagram_size = 20, 20

The diagram is unchanged.

I see the following in the code (in TracWorkflowAdminModule in web_ui.py):

diagram_size = Option('workflow-admin', 'diagram_size', '6, 6',
doc=N_("Image size in workflow diagram"))

So, I would expect that:
1. The items can be configured.
2. They should show up in the web admin interface (this ticket).

But maybe this is not really supported. All I am really after is
getting a larger image so I can see the details of the workflow...

--
Roger Oberholtzer

RjOllos

unread,
Mar 18, 2017, 9:10:21 PM3/18/17
to Trac Users
It works fine for me with Trac 1.2-stable.

I tried:
diagram_size = 3,3  -> 288 x 218
diagram_size = 6,6  -> 576 x 436
diagram_size = 12, 12  -> 945 x 715
diagram_size = 24, 24  -> 945 x 715

and with each change the image approximately doubles in size, up to a limit.

Try deleting the png's in htdocs/tracworkflowadmin.

Tested with Firefox 52. Please try with Firefox or Chrome and make sure you are running the latest version of the plugin.

- Ryan

Roger Oberholtzer

unread,
Mar 20, 2017, 3:33:05 AM3/20/17
to trac-...@googlegroups.com
On Sun, Mar 19, 2017 at 2:10 AM, RjOllos <rjo...@gmail.com> wrote:

> I tried:
> diagram_size = 3,3 -> 288 x 218
> diagram_size = 6,6 -> 576 x 436
> diagram_size = 12, 12 -> 945 x 715
> diagram_size = 24, 24 -> 945 x 715
>
> and with each change the image approximately doubles in size, up to a limit.
>
> Try deleting the png's in htdocs/tracworkflowadmin.

Hmm. I just tried this again, and now it works. Perhaps I have updated
something since reporting my problem.

So, I guess this is not an issue...

--
Roger Oberholtzer

Roger Oberholtzer

unread,
Mar 20, 2017, 3:36:36 AM3/20/17
to trac-...@googlegroups.com
While on the topic of the plugin, I see that there is a mysterious
state called "<none>". I cannot guess what that is. As it does not
describe a useful state, I would imagine I am free to delete it. No?



--
Roger Oberholtzer

RjOllos

unread,
Mar 20, 2017, 3:42:22 AM3/20/17
to Trac Users
You don't want to delete that:

- Ryan 

Roger Oberholtzer

unread,
Mar 20, 2017, 3:56:04 AM3/20/17
to trac-...@googlegroups.com
Ahh.. Glad I asked first!

--
Roger Oberholtzer

RjOllos

unread,
Mar 20, 2017, 7:06:39 PM3/20/17
to Trac Users
To help clarify, I updated the documentation for TracUpgrade to link to the relevant documentation in TracWorkflow:

- Ryan 
Reply all
Reply to author
Forward
0 new messages