mohammed-bahumaish / prisma-editor

Prisma Editor - A powerful tool to visualize and edit Prisma Schema.

Home Page:https://prisma-editor.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Explode schema when copy pasting prisma file

Aarbel opened this issue · comments

Thanks a lot for your amazing work @mohammed-bahumaish

Would it be possible to directly display the schema as "exploded" when copy pasting shema.prisma file content ? (with optimised display of tables function of their links)

Otherwise it takes hours to display a complex schema.

thanks a lot for your help !

image

Yup it's a issue

image

Maybe using a force-directed layout algorithm or a tree layout algorithm can be used to arrange the tables.
Anyway nice work @mohammed-bahumaish

thanks for reaching out! @Aarbel @aadarsh-nagrath

have you tried auto layout? that might be the thing you are looking for :)
image