Skip to content

fix: preserve model semantics during tidy and CLI layout - #109

Merged
Hacks4Snacks merged 1 commit into
mainfrom
hacks4snacks/layoutimprovements
Sep 14, 2026
Merged

Hacks4Snacks merged 1 commit into
mainfrom
hacks4snacks/layoutimprovements

Conversation

@Hacks4Snacks

Copy link
Copy Markdown
Owner

Protect model semantics and author-owned data during diagram cleanup, without adding Studio re-layout.

  • Reject Tidy/CLI layout changes that alter trust-boundary membership or crossings.
  • Preserve imported geometry, IDs, triage, analysis settings, and custom JSON fields.
  • Retain in-place Tidy with Labels only; improve invalid-flow and boundary-fit diagnostics.
  • Support configurable NuGet/npm feeds for Docker builds.

error = Validate(new[] { candidate }, effective) ?? FindSemanticChange(diagram, candidate);
if (error != null)
{
error += " No pages were changed. Keep the geometry and use label-only cleanup, or resolve the boundary placement explicitly.";
@Hacks4Snacks
Hacks4Snacks merged commit 1915631 into main Sep 14, 2026
11 checks passed
@Hacks4Snacks
Hacks4Snacks deleted the hacks4snacks/layoutimprovements branch September 14, 2026 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants