prisma-editor icon indicating copy to clipboard operation
prisma-editor copied to clipboard

Explode schema when copy pasting prisma file

Open Aarbel opened this issue 10 months ago • 1 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

Aarbel avatar Apr 09 '24 21:04 Aarbel

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

aadarsh-nagrath avatar Apr 29 '24 07:04 aadarsh-nagrath

thanks for reaching out! @Aarbel @aadarsh-nagrath

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

mohammed-bahumaish avatar May 29 '24 11:05 mohammed-bahumaish

thanks @mohammed-bahumaish

Aarbel avatar May 29 '24 12:05 Aarbel