Wrote a bit about what I mean https://tonsky.me/blog/diagrams/
7 comments
Interesting. It’s pretty clear that in case of ‘level 3’ code must be able to declare dependency on diagrams in order to be able to use them. But could diagrams be dependent on code too? For example, this feature could be useful for declaring handlers for processing state transitioning. But I can’t wrap my head around how UI for editing such diagrams would look like 🫢 @nikitonsky Nice writing about visual programming. One open door (since you also work on HumbleUI): I always liked the .nib-files (NeXTStep/Mac/iOS) as a way to draw your user interface visually. Now this has been replaced by SwiftUI. That's going the opposite direction. Or is it? @doekman never worked with them (that’s from interface builder, right?), so I can only guess. Drawing your screen visually is fine until you have dynamic parts in it, I guess. If most of your UI is dynamic, drawing it must be painful. If most is static, then sure @nikitonsky To be honest, I haven't used it extensively... I used some dynamic stuff like tab-bars, but I guess in more complex layouts there might be problems on the way… |
@nikitonsky good article.
About adding the diagrams, nice idea.
Emacs can sort of do that via easydraw: https://github.com/misohena/el-easydraw/
It's a full blown diagram editor.
But I guess the down side is that it's not cross-editor supported.