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.

LanguageLibraryStrict checkOther formatsGeometryFA
ClibcyberiadamlyesyEd, Lapki, Arenayesyes
C++libcyberiadamlppyesyEd, Lapki, Arenayesyes
Pythonlibcyberiadamlpp-py — a binding of the C++ libraryyesyEd, Lapki, Arenayesyes
Pythoncyberiadaml-py — pure Pythonyesreading Lapkiyesyes
TypeScriptcyberiadaml-jsyesreading Lapkikeeps, does not computeyes
C#cyberiada-logic-unity-pkg — a Unity package——keeps, does not compute—

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.