File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 44How to Dump Workflows
55=====================
66
7- To help you debug your workflows, you can dump a representation of your workflow with
8- the use of a ``DumperInterface ``. Use the ``GraphvizDumper `` to create a
9- PNG image of the workflow defined above::
7+ To help you debug your workflows, you can dump a representation of your workflow
8+ with the use of a ``DumperInterface ``. Use the ``GraphvizDumper `` to create a
9+ SVG image of the workflow defined above::
1010
1111 // dump-graph.php
1212 $dumper = new GraphvizDumper();
1313 echo $dumper->dump($definition);
1414
1515.. code-block :: terminal
1616
17- $ php dump-graph.php | dot -Tpng -o graph.png
17+ $ php dump-graph.php | dot -Tsvg -o graph.svg
1818
1919 The result will look like this:
2020
@@ -25,7 +25,7 @@ with the ``WorkflowDumpCommand``:
2525
2626.. code-block :: terminal
2727
28- $ php bin/console workflow:dump name | dot -Tpng -o graph.png
28+ $ php bin/console workflow:dump name | dot -Tsvg -o graph.svg
2929
3030 .. note ::
3131
You can’t perform that action at this time.
0 commit comments