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

feat: group models together permanently so they become one entity

janpio opened this issue · comments

This is neat. (Hi from Prisma!)

I have been trying it with a massive schema, and got pretty far:
image

But now I have to make more space in the middle, so I can figure out the relations there and untangle all the lines. For that, I would need to move the big blocks left and right more to the side so I have actual space to "work" - but I have to do that 1 model at a time. And that will take.... looooong.

It would be great if one could select many models at once and then move them all at once.
Maybe even a way to group models together permanently so they become one entity - but that might be another feature request.

Hi @janpio ,

you can press shift and select the area of the nodes you want to move.
image

then you can move the nodes as a group.
image

i will leave this issue open for Maybe even a way to group models together permanently so they become one entity - but that might be another feature request.

Nice, didn't know that.