#898·chartdb

Enhanced Git support for JSON export - Reproducible ids and ordering

Author: 587953289Created Sep 3, 2025Updated Jul 20, 2026

Hi,

we maintain a ChartDB diagram versioned in Git. We therefore keep the JSON and DBML files checked in version control. When updating the diagram, we would like to review diagram updates through regular Git means as text diff. Currently however we are facing difficulties with that as the diagram export mechanism is not as reproducible. Especially the element order of the exported files and the element ids for tables and fields seem inconsistent, when importing from JSON and then exporting to JSON again.

Would it be possible to improve the reproducibility and consistency of the JSON import and export here?