Hi, Johannes,
In R2021b, we added support for exporting the diagram as a pdf or image file, but still from within the SimBiology Model Builder app:
If a model is currently open in the Model Builder, then you can modify the diagram programmatically, and the changes will be reflected in the diagram embedded in the app:
Working with diagrams independently of the Model Builder is not currently possible, but we will definitely consider this when working on future enhancments. If you can share more about your use cases for exporting diagrams programmatically, we would love to hear about it.
Best,
Priya