-
-
Notifications
You must be signed in to change notification settings - Fork 126
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
Archimate enhancement for rectangle #130
Comments
Thank you for suggestions regarding the Actually, it's the opposite of what you proposed: we strongly encourage the use of styles instead of Regarding your proposal, we believe the best approach is to have the Archimate library drop the "rectangle" keyword entirely and rely solely on the "archimate" keyword. The use of "rectangle" was initially a workaround before the introduction of the "archimate" keyword, but it’s no longer necessary now. This change would simplify the design and ensure better consistency with Archimate standards. We'll also update the documentation at https://plantuml.com/en/archimate-diagram to reflect these changes and focus on the usage of the "archimate" keyword. We're open to making modifications to the PlantUML codebase if you can clearly specify what needs to be done. Feel free to share more details, and we'd be happy to collaborate on this. Looking forward to your input! |
Hello @arnaudroques Okay. If you would like to keep the Basically, if I could do something like this (The example is a "real world" example out of BIAN 7.0):
My main requirements would be fulfilled. Actually, you have to use rectangles to make a hierarchical cluster of Would it be better to add this feature to PlantUML itself? I will make an issue in https://github.com/plantuml/plantuml/ if you think that makes more sense. |
@boessu Out of curiousity, would this be the expected result? |
Hello @boessu, [Just for the record]
Regards, |
Here is a possible workaround: @startuml
rectangle "Cross Product Operations" <<$archimate/strategy-capability>> #STRATEGY {
archimate #STRATEGY "Account Management" <<strategy-capability>>
archimate #STRATEGY "Payments" <<strategy-capability>>
archimate #STRATEGY "Operational Services" <<strategy-capability>>
archimate #STRATEGY "Collateral Administration" <<strategy-capability>>
}
@enduml If that can help, |
Thanks for your suggestions. It would be more something like this: Which doesn't help for my issue. My main issue here with archimate is the
That was my initial offering to rewrite the stdlib/archimate according to this, if I'm allowed to do so. I think it would get even easier to read anyway. But if the aim of plantuml is to use the keyword The offering to rewrite the archimate library with a pull request to |
plantuml/plantuml#1818 has just been fixed. Does it help? |
I have the following enhancement or issue for the library
!include <archimate/Archimate>
:Due to the fact that
archimate
is an own keyword and not based onrectangle
, we get some sort of limitations with this standard library. If you take a look at https://plantuml.com/en/archimate-diagram you'll see the author of the documentation tries to make workarounds for the fact thatrectangle
can't use the archimate stereotype stiles with!include <archimate/Archimate>
. In Example 1, theskinparam rectangle<<behaviour>>
must be defined for the rectangle, even tough there would be a stereotype definition in the archimate library to import (<<business-process>>
), but only for the elementarchimate,
not forrectangle.
That's mainly a "problem" if you would like to group things, which is very typically done in enterprise architecture diagrams (e.g. process and sub-processes, capabilities and sub-capabilities etc.)My proposal is to change the archimate library to be reusable for the
archimate
andrectangle
keyword. This can be done either with defining the archimate block forrectangle
too (copy --> paste) or simply removearchimate
fromskinparam archimate {...}
.I can provide a pull request if there are plantuml maintainers who can tell me what's the better thing to do. I could try to change it to
<style>...</style>
. Although, and quite frankly, I'm not sure if the style part will be continued or if it is still better to use skinparam. It seems as the documentation is still very limited compared toskinparam.
I'm happy to see your feedback on this.
The text was updated successfully, but these errors were encountered: