GraphvizDumper

class GraphvizDumper implements DumperInterface

GraphvizDumper dumps a workflow as a graphviz file.

You can convert the generated dot file with the dot utility (http://www.graphviz.org/):

dot -Tpng workflow.dot > workflow.png

Methods

string dump(Definition $definition, Marking $marking = null, array $options = array())

Dumps a workflow definition.

Details

string dump(Definition $definition, Marking $marking = null, array $options = array())

Dumps a workflow definition.

Parameters

Definition $definition A Definition instance
Marking $marking A Marking instance
array $options An array of options

Return Value

string The representation of the workflow

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.2/Symfony/Component/Workflow/Dumper/GraphvizDumper.html