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

Feature: Automatically save layout position on comment at the last line of each model block

iki opened this issue · comments

model Name {
  id Int @id
  // layout(X, Y)
}

Tasks:

  • update positions from schema on edit, or undo
  • update schema on each move in editor and on auto-layout, allow undo

@iki Why would saving layout on the schema will be better?
can you give me more context of what benefits this will bring?