#27 Add deployment and dynamic diagrams support#34
#27 Add deployment and dynamic diagrams support#34kirchsth wants to merge 13 commits intoplantuml-stdlib:masterfrom
Conversation
…dd samples, update readme)
…eadme: add deployment sample)
|
Hi, While I think it's a good idea to add deployment elements, I don't really agree with the implementation. A better implementation would be to add a new skinparam skinparam rectangle<<node>> {
Shadowing false
StereotypeFontSize 0
FontColor #000000
BorderColor #000000
BorderStyle solid
}and new Node element !define Node(e_alias, e_label, e_type) rectangle "==e_label\n<size:TECHN_FONT_SIZE>[e_type]</size>" <<node>> as e_aliasThe Also, don't forget to update |
|
My main intention was to extend structurizr/dotnet with a new C4PlantUmlWriter which creates similar diagrams like structurizr itself (the test_writeBigBankPlcWorkspace() test produces the different diagrams – if you want to see them replace the 2 "" with one ") and with my “C4-PlantUML” merge request I only want to synchronize the generated diagrams. at DeploymentNode, ContainerInstance) all terms are already used in the structurizr model therefore I “reused” them as Deployment_Node and ContainerInstance (I cannot use container, because term container is already used and has a different meaning in the model). at DeploymentNode, Boundary) the C4 diagrams use already 3 different boundaries and a node is not a boundary. Additional structurizr uses round corners in the diagrams and I want to produce the same layout (e.g. round corners) too. And a container is not an instance therefore I added the round corners to the instances too. at Deployment_Node) I reused only the same pattern like all boundary Container_Boundary, Enterprise_Boundary ... but Node itself is fine too at C4_Dynamic.puml) basically you are right, but I want to decouple the writer and C4-diagram definitions and introduced the C4_Dynamic.puml too that each diagram type has its own *puml file (e.g. it could be that different legends are introduced,…) at C4.code-snippets) can you extend it? I generate the diagrams with structurizr/dotnet and use no code snippets |
…pdate based on review: rename to node, instance supports instance name [additional to container properties], updated styles) (via plantuml-stdlib#31 Dynamic diagram supports automatically numbered interactions - dynamic has a purpose too)
…ix link in README.md)
…pdate Deployment Diagram with named instances)
|
@adrianvlupu can you check my changes in my branch before I make a new pull request? C4.code-snippets are in work. I will finish it as soon your check is ok. |
…fix Deployment Diagram with named instances, both have same description )
…ix missing LAYOUT_AS_SKETCH and LAYOUT_WITH_LEGEND "()" in samples)
…eployment offers only new macro node - Simon Brown doesn't like the idea of Container Instances in the diagrams too)
…dd includes, interact, node and extend relations with directions enum)
|
Hi @adrianvlupu, @RicardoNiepel all my changes are in:
I hope you like it, I used the changes already in the new structurizr-C4PlantUmlWriter Best regards PS.: It still contains links to my git repository, please update/remove them as soon you accept my changes |
|
Hi @kirchsth, I like how you handled the Because I updated my version a while back to use plantuml 1.2019.6, I couldn't merge your version directly. I also changed 👍 Just wanted to thank you for the contribution and I wish you a happy holiday season 🎄 |
|
What is needed to merge this pull request? If nothing, could we merge this branch as soon as possible? |
|
Would be really great to see this merged. |
|
@RicardoNiepel could we get this merged, feature is useful |
|
There were several changes required, in order to work with the new preprocessor. I have made the required changes, and incorporated many of the pull requests into my fork of this great project. https://github.com/NJ-Brad/C4-PlantUML I am working on several projects and wanted to utilize these improvements. |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
@adrianvlupu merged my changes already via a different PR, therefore I close my PR |
I'm extending the Structurizr.Net with an new PlantUML writer with dynamic and deployment view support. During that I added the 2 diagrams definitions. If you want you could pull it.
I added the definitions, samples and updated the readme.
**please update all raw references to the correct one during merge from
https://raw.githubusercontent.com/kirchsth/C4-PlantUML/master/...
to
https://raw.githubusercontent.com/RicardoNiepel/C4-PlantUML/release/1-0/... ***