Project

General

Profile

Actions

csInfo #4040 | FMT-0009

open
RA

csInfo #FMT-0002: Kroki examples

ActDiag

csInfo #4040 | FMT-0009: ActDiag

Added by Redmine Admin 8 days ago. Updated 7 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

blockdiag actdiag { write -> convert -> image lane user { label = "User" write [label = "Writing text"]; image [label = "Get diagram image"]; } lane Kroki { convert [label = "Convert text to image"]; } } User Kroki Writing text Convert text to image Get diagram image

The diagram above is shown by just simply put sample diagram code copied from kroki.io inside a macro.
The macro language is described in redmine-kroki plugin page.

This is the exact code:

{{kroki(actdiag, max_width=600)
​actdiag {
  write -> convert -> image

  lane user {
    label = "User"
    write [label = "Writing text"];
    image [label = "Get diagram image"];
  }
  lane Kroki {
    convert [label = "Convert text to image"];
  }
}
}}

Document references

No data to display

Actions

Also available in: PDF Atom