drawdb icon indicating copy to clipboard operation
drawdb copied to clipboard

[FEATURE] Save/remember table positions on export

Open wowkin2 opened this issue 7 months ago • 1 comments

Is your feature request related to a problem? Please describe. When I or my colleague export schema into any format, then trying to import tables appear in random place and order. Then it takes a lot of time to organize that again, to have clarity and minimum intersections between lines. Image exports that preserve the same positions doesn't allow to reimport and modify schema.

Describe the solution you'd like Would be great if system could extend existing formats (e.g. DBML, JSON) or develop new format that would preserve position. Otherwise extend ability to save this information on server. So that even if I change browser I could access diagram later.

Additional context < none >

wowkin2 avatar May 05 '25 11:05 wowkin2

json exports store the table coordinates, so when you import the tables should be in the right places. with that said, the export doesnt include canvas coordinates like pan and zoom, so i'll add those

what concerns dbml, when you import it gets parsed and the diagram gets generated from an ast which cant contain the table coordinated

let me know if im missing something

1ilit avatar May 18 '25 14:05 1ilit