Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Add C4-PlantUML Properties to Deployment_Nodes #45

Conversation

djjlewis
Copy link
Contributor

@djjlewis djjlewis commented Feb 13, 2023

Because of the way Deployment Nodes were rendered, the code path to add C4-PlantUML AddProperty Attributes was not being called.

This change adds a check to see if the c4plantuml.elementProperties property has been set in the startDeploymentNodeBoundary method to ensure any model properties assigned to Deployment Nodes will also be rendered on exported C4-PlantUML diagrams.

This is an addition to the old behaviour where the properties were only rendered on container views.

Because of the way Deployment Nodes were rendered, the code path to add
C4-PlantUML AddProperty Attributes was not being called.

This change adds a check to if the `c4plantuml.elementProperties`
property has been set in the `startDeploymentNodeBoundary` method to
ensure any model properties assigned to Deployment Nodes will also be
rendered on exported C4-PlantUML diagrams.

This is an addition to the old behaviour where the properties were only rendered on container views.
@djjlewis djjlewis force-pushed the c4plantuml-deployment-node-properties branch from 96fae3c to cd439ff Compare February 13, 2023 12:09
@simonbrowndotje simonbrowndotje merged commit 318cb85 into structurizr:main Feb 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants