Repair diagram layout

Not a bug fix, a bulk settings change. Switches migrated draw.io diagrams between the classic draw.io layout and Capable's Auto layout. Migrations run before the layout option existed all landed on Auto.

Find it under Repair, then the "Repair diagram layout" card. Works from a log or from page IDs..


#What it changes

Writes only the layout setting, and only where it differs from the target. Covers both the Diagram and the Diagram Reference macro, but deliberately not the Diagram Source macro. Writes a new page version labelled as a layout change.


#What to know before running it

Only writes to macros proven to be draw.io, either by the migration's own stamp or by reading the diagram itself. Other Capable diagram macros are counted separately and left alone, because writing a layout onto them would silently opt them out of the space default they inherit. It has no check step and no preview, going straight from adding pages to scanning to writing, so the fix-one-page-first gate is its only safety net. Its log matching is very loose, so expect candidate rows that scan to nothing. It is also the only panel with no results export.


#A few things that catch people out

  • Bulk operation stays locked until you have fixed and checked one page by hand.

  • It only looks at the pages you hand it. It never sweeps the site.

  • Cancel stops the queue between pages; anything already in flight still writes.



Fix forward. Nothing is deleted.