related to https://github.com/plantuml-stdlib/C4-PlantUML/issues/336.
The only difference is that the PlantUML elements can be defined via $baseShape
(I could be that I combine $baseShape with $shape in one of the next releases therefore $baseShape and not $renderAs)
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 baseShape="...." argument of the calls
System(..., ?baseShape),
System_Ext(..., ?baseShape),
Container(..., ?baseShape),
Container_Ext(..., ?baseShape),
Component(..., ?baseShape),
Component_Ext(..., ?baseShape)
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 file
BEFORE the first C4_* file is loaded, like e.g.
related to https://github.com/plantuml-stdlib/C4-PlantUML/issues/336. The only difference is that the PlantUML elements can be defined via $baseShape (I could be that I combine $baseShape with $shape in one of the next releases therefore $baseShape and not $renderAs)
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
baseShape="...."
argument of the callsSystem(..., ?baseShape)
,System_Ext(..., ?baseShape)
,Container(..., ?baseShape)
,Container_Ext(..., ?baseShape)
,Component(..., ?baseShape)
,Component_Ext(..., ?baseShape)
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 file BEFORE 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.It can be tested via my extended branch
(sometime the PlantUML server has no access to the referenced files, if this is the case please try it with your local system) BR Helmut