stefano
stefano•10mo ago

schema visualization

hi, is there any service to generate a nice visual schema representation of the schema.ts?
5 Replies
lee
lee•10mo ago
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/
lee
lee•10mo ago
i pasted my schema and asked the docs chat for a mermaid diagram, and it generated something reasonable
stefano
stefanoOP•10mo ago
I mean something like this
No description
lee
lee•10mo ago
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 😊
stefano
stefanoOP•10mo ago
cool i'll try it out then

Did you find this page helpful?