Skip to content

PlantUML Server Configuration

Aryeh Citron edited this page Apr 2, 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.

Home


Demo


Getting Started

Common Tasks

Integration Guides

Extensions

Configuration

Features

Reference

Clone this wiki locally