Skip to main content

Style C4 PlantUML

C4 PlantUML supports layout macros, tags, legends, and PlantUML style controls.

Start with the general presentation settings. They control the canvas background, padding, and frame for every diagram.

Source controlsโ€‹

  • Use C4 layout macros to change direction or spacing.
  • Use tags and element-style macros for reusable styles.
  • Use PlantUML theme and skin parameters only when they do not conflict with C4 macros.

Renderer optionsโ€‹

OptionValuesPurpose
themeA supported PlantUML theme nameApply the theme before diagram.zip renders the source.
no-metadataFlagRemove the source metadata from the rendered image.