New Features
Rounded style can be activated via property or command line argument
Rounded styles can be activated via !ROUNDED_STYLE=1 or the command line argument -DROUNDED_STYLE=1 (details see Themes - rounded style)
New wireframe/rounded style can be activated via property or command line argument (based on color swaps)
The new style can be activated via !NEW_C4_STYLE=1 or the command line argument -DNEW_C4_STYLE=1 (details see Themes - modernized style)
This new style should work with most existing tag definitions (tag colors are automatically swapped), but in some cases, tag definitions may need manual updates.
Warning
This feature is only intended and tested for diagrams using the basic themes (C4_blue [default], C4_brown, C4_green, and C4_violet). Other themes may have unintended side effects if background and font colors are swapped (!ROUNDED_STYLE=1 could be a good alternative).
Another side effect is the changed meaning of the color arguments: when the new style is enabled, $bgColor sets the font color and $fontColor sets the background color. This allows automatic migration of existing diagrams.
If you are creating new diagrams, use one of the newly added themes (C4_blue_new, C4_brown_new, C4_green_new, or C4_violet_new). These provide a similar wireframe look with rounded rectangles, but do not swap the colors.
4 new wireframe themes (without color swaps)
What's Changed
- Fix for "Use !option handwritten true" warning by @Potherca in #397
- #400 support new visual style for C4 diagrams with
!NEW_C4_STYLE=1by @kirchsth in #401 - #402 extend diagrams with links by @kirchsth in #403
- #405 image urls require https:// by @kirchsth in #406
- Fix string concatenation in C4.puml. by @Potherca in #408
- #404 reimplement NEW_C4_STYLE=1, add ROUNDED_STYLE=1 add themes by @kirchsth in #410
Full Changelog: v2.12.0...v2.13.0