Libraries
The libraries reading and writing CyberiadaML-GraphML diagrams in C, C++, Python, TypeScript and C#, and the diagram geometry.
The libraries read and write CyberiadaML-GraphML documents (PNST 1044-2025) and are checked by the conformance tests.
| Language | Library | Strict check | Other formats | Geometry | FA |
|---|---|---|---|---|---|
| C | libcyberiadaml | yes | yEd, Lapki, Arena | yes | yes |
| C++ | libcyberiadamlpp | yes | yEd, Lapki, Arena | yes | yes |
| Python | libcyberiadamlpp-py — a binding of the C++ library | yes | yEd, Lapki, Arena | yes | yes |
| Python | cyberiadaml-py — pure Python | yes | reading Lapki | yes | yes |
| TypeScript | cyberiadaml-js | yes | reading Lapki | keeps, does not compute | yes |
| C# | cyberiada-logic-unity-pkg — a Unity package | — | — | keeps, does not compute | — |
- Strict check — reading with the check of every requirement of the standard.
- Other formats — the GraphML dialects other programs keep diagrams in: yEd (the diagrams of the Berloga games included), Lapki IDE, Arena.
- Geometry — computing the layout: converting the coordinates, reconstructing a missing geometry, updating it after edits.
- FA — finite automata.
The C library
libcyberiadaml is the base of
the stack: the C++ library, the Python binding and the CyberiadaPro editor are
built on it. Its command line utility cybparser prints a document, converts
it between the formats and compares two diagrams.
The diagram geometry
libhtreegeom computes the geometry of the diagrams: converts the coordinates, checks the placement, builds a layered layout for the diagrams without geometry. The C and C++ libraries use it; cyberiadaml-py carries the same algorithms ported to Python.
The packages to install are on the download page.