-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Support of "all" PlantUML elements can be enabled #336
Comments
I am in favor, with one point of concern: I would prefer a different term than Other than that, I think you are correct that we should provide the "customer" (user of the lib) with what they want. I think the Footnotes
|
I don't like plant too, but I didn't want to use 'planetUML....' we have basically no UML context. I know, the better solution would be if we combine $shape, but @Potherca: what do you think? (should I combine it and add it to the elements) |
Flattered to be asked. For me, the plant=... is acceptable. to be more agnostic in naming, you could use |
I wouldn't bother combining |
Based on multiple requests #145, #104, #329 and #309 I think I found a relative good compromise for the support of "all PlantUML elements" as additional shapes.
If all PlantUML elements are required
$plant=....
argument in combination of systems, containers and components.The solution has following advantages
@Potherca, @jlesueur,@mdreano, @crgardner, @adrianvlupu, @dannief, ...: can you please give me your feedback before I start with a merge request?
Details see below and it can be tested via my extended branch
Thank you and best regards Helmut
Optional support of additional PlantUML elements
More often a full support of all PlantUML elements are requested.
They can be set via the new optional
plant="...."
argument of the callsSystem(..., ?plant)
,System_Ext(..., ?plant)
,Container(..., ?plant)
,Container_Ext(..., ?plant)
,Component(..., ?plant)
,Component_Ext(..., ?plant)
The already specified
...Db...()
and...Queue...()
calls are not extended.But based on the additional (internal) overhead it has to be explicit enabled
via
ENABLE_ALL_PLANT_ELEMENTS
. It can be set with following 2 options!ENABLE_ALL_PLANT_ELEMENTS = 1
directly in the scripts fileBEFORE the first C4_* file is loaded, like e.g.
-DENABLE_ALL_PLANT_ELEMENTS=1
If
ENABLE_ALL_PLANT_ELEMENTS
is not set, the diagrams displays the requested "PlantUML element"but the style is not correct displayed.
A simple sample with additional "PlantUML elements":
List of supported PlantUML elements
If
ENABLE_ALL_PLANT_ELEMENTS
is not set, the diagrams displays the requested "PlantUML element"but the style is not correct.
(sometime the PlantUML server has no access to the referenced files, if this is the case please try it with your local system)
The text was updated successfully, but these errors were encountered: