Skip to main content

An add-on for Zope and Plone which aims to provide user-friendly automatically generated documentation about workflow definitions.

Project description

Overview

This add-on for Zope and Plone aims to provide user-friendly automatically generated documentation about workflow definitions.

Currently two Zope3-style views for Products.DCWorkflow.interfaces.IDCWorkflowDefinition are provided:

  • @@wf-graph: Render an image representing the workflow’s states and transitions as a graph.

  • @@wf-doc: Render an HTML page describing the workflow. This includes the graph mentioned above.

Requirements

  • Tested with Zope 2.10.7 + Plone 3.2.2. However only Zope 2 is required (hopefuly).

  • Graphviz [1]. More precisely: there must be an executable called dot in the system path and the user running Zope must have execute permission on it.

  • Other requirements are pure Python packages registered on PyPI and distutils should handle them without problems.

Installation

This package is easy_install’able. Just make it available in your Zope Instance and don’t forget to load its ZCMLs. If you don’t have any idea of what I’m talking about please refer to Installing an Add-on Product [4].

Usage

Just use the provided views on an workflow definition. Examples (type these URLs in your browser):

You can pass the following parameters to @@wf-graph in the query string: hide_roles and hide_permissions. These are lists of things to hide in the output, separated by “.”. Example:

To-do

  • Render an HTML image map, so the user can click on a state or transition and see its description.

  • Test and adapt for Windows.

  • Make the location of the dot executable configurable.

  • i18n.

  • Write automatic tests.

History

0.0.1 (03-june-2009)

  • First release.

Credits

  • Author: Rafael Oliveira <rafaelbco@gmail.com>

  • The idea of using Zope3-style views to render information about workflow definitions was inspired by Martin Aspeli’s collective.wtf [2].

Contribute and report bugs

Help is welcome. Contact the author or file a ticket at the Issue tracker [3].

References

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rbco.wfdocumentator-0.0.1.zip (17.9 kB view details)

Uploaded Source

File details

Details for the file rbco.wfdocumentator-0.0.1.zip.

File metadata

File hashes

Hashes for rbco.wfdocumentator-0.0.1.zip
Algorithm Hash digest
SHA256 fe5bb99b9ef04c7fc1a2653f069aa3f8847a899584b28ceab6bd6940cb1195a1
MD5 2fa33d459c0bf4e1070628be7f28d206
BLAKE2b-256 a227381a337ea42b48feff39cff943684103c693619af7ba4131fc4b021106fa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page