3 ms·
Looking at the github project [1], it seems that the diagrams are serialized in a binary format (drn file), which according to the file command is a sqlite data
by skybrian 3y ago
Looking at the github project [1], it seems that the diagrams are serialized in a binary format (drn file), which according to the file command is a sqlite database. They generate Lua?
I suspect a text-based serialization format that works well with diff would go over better.
[1] https://github.com/stepan-mitkin/drakonhub https://github.com/stepan-mitkin/drakonhub
- erk__ 3y agoThe drn file format is described here https://drakon-editor.sourceforge.net/file_format.html https://drakon-editor.sourceforge.net/file_format.html The drakon widget by the same author uses a json based serialzation scheme as you can see here https://github.com/stepan-mitkin/drakonwidget/blob/main/js/examples.js https://github.com/stepan-mitkin/drakonwidget/blob/main/js/e...