View Issue Details

IDProjectCategoryView StatusLast Update
0012253mantisbtfeaturepublic2014-12-08 00:33
Reporterbdru Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Product Version1.2.1 
Target Version1.3.0-beta.1Fixed in Version1.3.0-beta.1 
Summary0012253: Graphviz Graph to display workflow - PATCH
Description

Dear all,

A workflow graph is helpful once your mantis workflow gets bigger or when you simply want to explain the flow to someone.

HERE IS A PATCH to have the graph displayed on the workflow transitions page (/manage_config_workflow_page.php)

To make it work, you need the relationship graph enabled.

The attached tgz also contains a sample resulting image.

Bernard

TagsNo tags attached.
Attached Files
workflow_graph_img.tgz (22,151 bytes)
workflow_graph_img.php.png (19,892 bytes)   
workflow_graph_img.php.png (19,892 bytes)   

Relationships

related to 0015721 closedgrangeway Functionality to consider porting to master-2.0.x 
has duplicate 0004768 closedatrol States transitions diagram 

Activities

dhx

dhx

2010-08-14 00:12

reporter   ~0026307

Fantastic patch Bernard! I've applied this new feature to the 1.3.x branch.

I've taken your patch and refactored/cleaned/extended it a little bit. Please see the commit message attached to this bug for the full details. I hope these changes are within your original intentions for your patch. I'm happy to discuss ways to improve this functionality.

Thanks

JanHegewald

JanHegewald

2011-12-08 10:23

reporter   ~0030513

Hi,

is there a possibility to include this feature also in 1.2.x? I tried to apply the changes from the git commit to my 1.2.8 installation, but no workflow graph shows up on the page 'Workflow Graph', only the message, that this setting only applies to project xyz. I have switched on the relationship graphs and they are showing up properly. Any suggestions?

grangeway

grangeway

2013-04-05 17:57

reporter   ~0036394

Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch

Related Changesets

MantisBT: master 596097f3

2010-08-13 23:50

dhx


Details Diff
Issue 0012253: Implement management page to view workflow graph

Bernard de Rubinat contributed a patch to implement a workflow graph
using the existing GraphViz API for rendering. This patch will add a new
page the Manage => Configuration menu to show a graph of the workflow
(status transitions) for the currently selected project.

The proposed functionality was cleaned up and extended in the following
ways:

1) Added workflow_api for functions that are used for working with
workflows. This API is already used by two MantisBT pages.

2) Place the workflow graph on a separate page in the management
console. There wasn't enough space within the
manage_config_workflow_page.php page.

3) Use the 'dot' tool for generating the graph rather than 'neato'. This
new format is more suitable for displaying workflows.

4) Refactored the code used to print the manage configuration menu. This
newer format would be better used as a generic print_menu(...) function
in the future (serving multiple different menus).

Contributed-by: Bernard de Rubinat <bernard.derubinat@gmail.com>
Contributed-by: David Hicks <hickseydr@optusnet.com.au>
Affected Issues
0012253
add - manage_config_workflow_graph_page.php Diff File
mod - manage_config_workflow_page.php Diff File
add - workflow_graph_img.php Diff File
mod - core/html_api.php Diff File
add - core/workflow_api.php Diff File
mod - lang/strings_english.txt Diff File