Architecture

Kroki has a modular architecture and provides multiple components:

Gateway Server

This component is the entry point of Kroki. The server is using Vert.x and will route the request to different services.

Blockdiag

A companion web server written in Python (powered by Flask and Gunicorn) that provides BlockDiag, SeqDiag, ActDiag and NwDiag diagrams libraries.

Mermaid

A companion web server written in JavaScript (powered by micro) that provides Mermaid diagram library.

Gateway Server

The Docker image contains the following diagrams libraries out-of-the-box:

Diagram Type Version

C4 with PlantUML

1.2018.14

Ditaa

1.3.13

Erd

0.1.3.0

GraphViz

2.40.1

Nomnoml

0.3.0

PlantUML

1.2018.14

Svgbob

0.4.1

UMlet

14.3.0

Companion Servers

BlockDiag

The Docker image contains the following diagrams libraries out-of-the-box:

Diagram Type Version

ActDiag

8.0.0

BlockDiag

1.5.4

NwDiag

1.0.4

SeqDiag

0.9.6

Mermaid

The Docker image contains the following diagrams libraries out-of-the-box:

Diagram Type Version

Mermaid

8.0.0