Can't see properties #174
-
Hello, I'm testing C4 diagrams. I tested Plantuml support and now Structurizr. In plantuml, I can define the following diagram :
which gives this : When I tried to do the same thing in Structurizr, I can't see the properties and I'm not sure if I missed something or if it's not displayed. The structurizr code :
I got this image in Structurizr Lite (I checked also in Structure On Premise Live Editor and using Kroki.io) : I checked the documentation, issues and discussions to see if I could find something but found nothing. Am I missing something or is this feature (showing properties) not supported ? If it's not supported, do you have best practices for this type of documentation ? To be completely honest, my use case is a mkdocs static site where I use Kroki.io to export different diagrams to be included in the documentation 😃 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Properties are displayed in Structurizr Lite via tooltips when the mouse is hovered over an element/relationship ... press the |
Beta Was this translation helpful? Give feedback.
-
Thank you for the answer, I found the button to toggle the tooltips when I pressed If I understand correctly, it means won't be displayed when I export the diagram too. If that's the case, can you tell if it's possible in another "version" of structuriz (on premise, cli, ...) ? |
Beta Was this translation helpful? Give feedback.
Structurizr Lite/on-premises/cloud all use the same UI, so properties are only visible via tooltips. If you need properties on the diagram, you would need to use the C4PlantUMLExporter that is bundled into the Structurizr CLI, in conjunction with
c4plantuml.elementProperties true
(see linked docs; example from the demo page below).