schema visualization
hi, is there any service to generate a nice visual schema representation of the schema.ts?
5 Replies
what kind of visualization are you looking for?
if you have a complex schema.ts that imports from many files, you can see the final consolidated schema in Convex dashboard -> deployment -> Data -> Show Schema.
if you want to generate sample documents, you can ask a chatbot, e.g. the one at the top of https://docs.convex.dev/
i pasted my schema and asked the docs chat for a mermaid diagram, and it generated something reasonable
I mean something like this

we don't have any tools that do that automatically, but the mermaid diagram generated by chatgpt gets pretty close
it does seem like something we could build into the dashboard. Nice feature request 😊
cool i'll try it out then