Is there a documentation page about the format? And can the styles (edge curved/orthongonal etc) be supplied via YAML? (It's going to feel really nice if I can just copy and paste someone else's work without having to follow manual UI instructions)
heya, the closest are the comments on example_input.yaml, paired with the API docs for InputDiagram. The entity_tooltips field isn't used just yet -- I haven't figured out how to place nodes in "the right place" / in a way that they don't exceed the SVG bounds.
yeaps! The Text tab has the full structure in YAML. If you edit a diagram using the input elements first, the text area will have the updated serialized structure; and you can edit the YAML directly (need to unfocus from the text area for the changes to take place).
There is a base_diagram.yaml (code version) where I've put the default theme, so it's possible to write one's own theme and merge the diagram data over it separately.
Related, I wanted a good text editor + LSP as a first class experience as well, but that would mean porting Monaco / CodeMirror to be a dioxus component, and figuring out how to integrate LSP into it, which is another substantial project.