Skip to content

v2.13.0

Latest

Choose a tag to compare

@kirchsth kirchsth released this 11 Jan 16:31

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)

Rounded style sample - open link

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)

New C4 style sample - open link

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)

new blue theme sample - open link

What's Changed

Full Changelog: v2.12.0...v2.13.0