Skip to content

Commit

Permalink
fix: Fix captions for custom diagrams
Browse files Browse the repository at this point in the history
  • Loading branch information
ewuerger committed Dec 13, 2024
1 parent 37e206f commit d9191c9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions capella2polarion/converters/element_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,11 @@ def _add_custom_diagrams(
650,
"additional-attributes-diagram",
cd_config.render_params,
(
("Figure", f"Context Diagram of {diagram.target.name}")
if self.generate_figure_captions
else None
),
)
if attachment:
self._add_attachment(converter_data.work_item, attachment)
Expand Down

0 comments on commit d9191c9

Please sign in to comment.