Skip to content

Commit

Permalink
[Workflow] feature symfony#50604 metadata dumping
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis-Proffit authored and OskarStark committed Dec 9, 2023
1 parent 9aeccbd commit 3a4b436
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Binary file added _images/components/workflow/blogpost_metadata.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions workflow/dumping-workflows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,21 @@ files and ``PlantUmlDumper`` to create the PlantUML files::
Styling
-------

You can use ``--with-metadata`` option in the ``workflow:dump`` command to include places, transitions and
workflow's metadata.

The DOT image will look like this :

.. image:: /_images/components/workflow/blogpost_metadata.png

.. note::

The ``--with-metadata`` option only works for the DOT dumper for now.

.. note::

The ``label`` metadata is not included in the dumped metadata, because it is used as a place's title.

You can use ``metadata`` with the following keys to style the workflow:

* for places:
Expand Down

0 comments on commit 3a4b436

Please sign in to comment.