Skip to content

Commit 68a3289

Browse files
committed
Merge branch '7.0' into 7.1
* 7.0: - [Workflow] feature symfony#50604 metadata dumping
2 parents d44264f + ee89dd7 commit 68a3289

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
Loading

workflow/dumping-workflows.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,25 @@ files and ``PlantUmlDumper`` to create the PlantUML files::
6565
Styling
6666
-------
6767

68+
You can use ``--with-metadata`` option in the ``workflow:dump`` command to include places, transitions and
69+
workflow's metadata.
70+
71+
The DOT image will look like this :
72+
73+
.. image:: /_images/components/workflow/blogpost_metadata.png
74+
75+
.. note::
76+
77+
The ``--with-metadata`` option only works for the DOT dumper for now.
78+
79+
.. note::
80+
81+
The ``label`` metadata is not included in the dumped metadata, because it is used as a place's title.
82+
83+
.. versionadded:: 6.4
84+
85+
The ``--with-metadata`` option was introduced in Symfony 6.4.
86+
6887
You can use ``metadata`` with the following keys to style the workflow:
6988

7089
* for places:

0 commit comments

Comments
 (0)