8000 [Workflow] Metadata dumping by Louis-Proffit · Pull Request #18398 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Workflow] Metadata dumping #18398

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Comment on lines +81 to +82
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The ``label`` metadata is not included in the dumped metadata, because it is used as a place's title.
The ``label`` metadata is not included in the dumped metadata, because it is used as a place's title.
.. versionadded:: 6.3
The ``--with-metadata`` option was introduced in Symfony 6.3.

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

* for places:
Expand Down
0