Hacker News new | ask | show | jobs
by vidarh 988 days ago
GPT4 was surprisingly good at generating dot (Graphviz) files when I tried, and even managed to do reasonable visual layout of nodes (it's an interesting test, both because reasoning about visual constraints in text is tricky and because good diagram layout algorithms are complex)
1 comments

It's decent at mermaid too, but the one time I tried it for something complex there I found it was just easier to do the diagram myself
Yeah, it's surprisingly good, but definitely not good enough to rely on for that. It was fascinating to probe the limits of it, though.