Closed ayalpani closed 8 months ago
I think this can be done by writing a compiler that generates tldr json format. You can try build one yourself as 3rd party project using https://github.com/antlr/antlr4
Yes, we've done some prototyping on a feature like this. It worked quite well! But there will be a lot more work to do to go from prototype to feature. I'd like to get a start on it, then release and see where the community takes it.
Hi, closing this as we won't be adding new features to this version of tldraw. Check https://github.com/tldraw/tldraw for the latest!
Hi Steve, thanks for tldraw. Did you ever think about supporting DOT Language for automatically creating Graphs?
$ echo 'digraph { a -> b }' | tldraw > mygraph.tldr
I believe it would further boost acceptance if it could be used during a developers build process to visualise the project's architecture and processes. After initial build of my tldr file, I would then move things around on the canvas to actually look nice and all changes would somehow be persisted and restored upon opening my tldr file. Something like that:
https://beta.tldraw.com/r/v2_9UzERvhtDIGIAUniphcvk