It would be cool to display GraphViz generated workflow graphs on the workflow page.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | graphviz-integration-1556598-1.patch | 4.55 KB | zroger |
It would be cool to display GraphViz generated workflow graphs on the workflow page.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | graphviz-integration-1556598-1.patch | 4.55 KB | zroger |
Comments
Comment #1
zroger commentedand the patch.
Comment #2
zroger commentedI forgot to mention, you'll need graphviz and PEAR Image_Graphviz installed for this to work. On a mac you this can be done like so:
Comment #3
fmitchell commentedapparently graphviz does not like php 5.3.x
Strict warning: Non-static method System::mktemp() should not be called statically, assuming $this from incompatible context in Image_GraphViz->saveParsedGraph() (line 1005 of /usr/local/Cellar/php/5.3.8/lib/php/Image/GraphViz.php).
Strict warning: Non-static method System::_parseArgs() should not be called statically, assuming $this from incompatible context in System->mktemp() (line 393 of /usr/local/Cellar/php/5.3.8/lib/php/System.php).
Strict warning: Non-static method Console_Getopt::getopt2() should not be called statically, assuming $this from incompatible context in System->_parseArgs() (line 84 of /usr/local/Cellar/php/5.3.8/lib/php/System.php).
Strict warning: Non-static method Console_Getopt::doGetopt() should not be called statically, assuming $this from incompatible context in Console_Getopt->getopt2() (line 75 of /usr/local/Cellar/php/5.3.8/lib/php/Console/Getopt.php).
Strict warning: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in Console_Getopt->doGetopt() (line 109 of /usr/local/Cellar/php/5.3.8/lib/php/Console/Getopt.php).
etc....
Comment #4
clemens.tolboomXRef Graph API #1806520: How to provide support for graphviz (properly)
Comment #5
s.daniel commentedI use PHP 5.3.10-1ubuntu3.4 with Suhosin-Patch (cli) along with graphviz_filter and can't confirm the general issues with php 5.3.x
Comment #6
clemens.tolboomI'm not sure but as state machine has views integration why not use Graph API as the workflow renderer.
Graph API needs nodes + links and can render to several 'graph' engines like thejit, d3, graph phyz and (almost) to graphviz_filter.
That would relieve state machine from integration with graphviz_filter.
I have to fix #1209526: Add support for graphviz_filter module quick but @s.Daniel provided for a simple patch.