The Desktop version can also export diagrams when called via CLI, though that is less suitable for CI/CD.