Skip to content

PlantUML Server Configuration

aryehcitron@gmail.com edited this page May 17, 2026 · 5 revisions

By default, diagrams are rendered via the public PlantUML server at https://plantuml.com/plantuml. To use a private/self-hosted server, set PlantUmlServerBaseUrl in either ReportConfigurationOptions or DiagramsFetcherOptions:

new ReportConfigurationOptions
{
    PlantUmlServerBaseUrl = "https://plantuml.mycompany.com/plantuml"
}

The library appends /{format}/{encoded} to this base URL to generate image source URLs, where {format} is determined by PlantUmlImageFormat (png by default).

Image Format

By default, diagrams are rendered as PNG images. To use SVG instead, set PlantUmlImageFormat:

new ReportConfigurationOptions
{
    PlantUmlImageFormat = PlantUmlImageFormat.Svg
}

This changes the URL path from /png/{encoded} to /svg/{encoded}. SVG diagrams are resolution-independent and produce sharper output at any zoom level, but may render differently depending on the PlantUML server version.

Local Rendering (No Server Required)

To render diagrams locally without any remote server dependency, install the Kronikol.PlantUml.Ikvm package. This uses IKVM to run the PlantUML Java library directly in .NET.

See Integration PlantUML IKVM for full setup instructions.

Home


Demo


Getting Started

Common Tasks

Integration Guides

Extensions

Configuration

Features

Reference

Clone this wiki locally