Workflow Graph

kratib - July 21, 2007 - 08:24

This module generates graphs from workflow definitions and instances.

It currently generates two distinct kinds of graphs:

  • One for the workflow definition, showing all workflow states, the
    transitions linking them, and the roles allowed to perform those
    transitions.
    To access this graph, you currently need to patch the workflow.module
    with this patch. A "Graph"
    operation will then appear in front of each workflow on the Workflow admin
    page. If you don't want to patch, you need to manually type the URL:
      /admin/build/workflow/graph/<wid>
  • One for a workflow *instance history*, i.e. the path that a workflow
    took for a specific node. Here, the graph shows all state transitions
    that occurred on the node, including the timestamp and the users who
    performed those transitions.
    To access this graph, just go to any node that is workflow-enabled
    (i.e. has a "Workflow" tab). It should now show a "Graph" tab that
    displays the history graph.

NOTE: The following documentation applies to the latest stable release, not the development branch. The latter may contain new features and even change existing ones.

REQUIRES
* Graphviz tools on the system PATH
* PEAR::Image_GraphViz

IMPLEMENTATION NOTES
* Only tested on Ubuntu
* On antialiasing: Rendering antialiased graphs is not a piece of cake. On Ubuntu Feisty, I was lucky: just installing the package graphviz-cairo from universe automatically made the PNG output antialiased. If you don't have that luxury, you should manually get and install the graphviz cairo plugin (http://www.graphviz.org/pub/scm/graphviz-cairo/). Then, use the output format 'png:cairo' to render antialiased images.

Releases

Official releasesDateSizeLinksStatus
5.x-1.02008-Feb-198.15 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
5.x-1.x-dev2008-Jun-238.07 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
 
 

Drupal is a registered trademark of Dries Buytaert.