Skip to content

Add partial mapping visualization for non-invertible LinearLayout mat…#13

Merged
leeliu103 merged 1 commit intomainfrom
feat/linear-layout-partial-mapping
Dec 5, 2025
Merged

Add partial mapping visualization for non-invertible LinearLayout mat…#13
leeliu103 merged 1 commit intomainfrom
feat/linear-layout-partial-mapping

Conversation

@leeliu103
Copy link
Owner

…rices

When LinearLayout matrices are not invertible, enumerate all possible inputs and display valid output mappings on the canvas instead of showing an error. This allows users to visualize partial mappings for rank-deficient or rectangular matrices.

  • Implement input enumeration fallback when matrix inversion fails
  • Show status message: "Layout matrix is not invertible. Showing partial mapping for valid outputs."
  • Add comprehensive test coverage for collision scenarios, hover highlighting, and color-by-dimension
  • Handle multiple inputs mapping to same output (rank-deficient case)
  • Validate coordinates and ensure proper highlighting in by-output traversal mode

🤖 Generated with Claude Code

…rices

When LinearLayout matrices are not invertible, enumerate all possible inputs
and display valid output mappings on the canvas instead of showing an error.
This allows users to visualize partial mappings for rank-deficient or
rectangular matrices.

- Implement input enumeration fallback when matrix inversion fails
- Show status message: "Layout matrix is not invertible. Showing partial mapping for valid outputs."
- Add comprehensive test coverage for collision scenarios, hover highlighting, and color-by-dimension
- Handle multiple inputs mapping to same output (rank-deficient case)
- Validate coordinates and ensure proper highlighting in by-output traversal mode

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@leeliu103 leeliu103 merged commit d960eec into main Dec 5, 2025
1 check passed
@leeliu103 leeliu103 deleted the feat/linear-layout-partial-mapping branch December 5, 2025 19:48
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.

1 participant