Codex/optimize data relationship graph followup#20
Merged
Conversation
…ce modeling - Introduced position property for models and views in the modeling graph, allowing for precise placement within the canvas. - Implemented validation for node positions to ensure they are finite numbers. - Updated services and types to accommodate the new position data, enhancing the modeling experience. - Added integration tests to verify position handling and ensure correct behavior during updates. - Enhanced frontend components to support displaying and editing node positions.
…mprovements - Added restrictions on using native HTML UI components, enforcing the use of shadcn components for better consistency. - Introduced a new section in the documentation for modeling canvas troubleshooting, providing guidance on common issues. - Updated the modeling workspace page to include new state management for context drawers and editor intents. - Enhanced the modeling details panel to support new editor intents and improve user experience with tab switching. - Improved the modeling flow canvas with additional node action handling and UI refinements for better interaction. - Updated relationship editor to display secondary names for relationships, enhancing clarity in the UI. - Refactored various components for better maintainability and performance.
- Updated the layout estimation logic in the modeling flow canvas to improve accuracy based on section counts and node types. - Adjusted default spacing values for layers and edges to optimize layout performance. - Enhanced ELK layout configuration with additional crossing minimization strategies and edge merging options for better visual clarity.
- Introduced support for "many-to-many" relationships in the modeling flow edge data structure, allowing for more complex relationship definitions. - Updated the modeling flow canvas to include an "elevateEdgesOnSelect" feature for improved user interaction. - Enhanced the modeling workspace page to conditionally open context drawers based on node types, improving user experience. - Updated tests to verify the rendering of new relationship labels and interactions for many-to-many relationships.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
本次将
codex/optimize-data-relationship-graph-followup合并到dev,目标是提升 Modeling Workspace 在数据关系图场景下的可用性、稳定性与前后端契约一致性。本次改动
影响范围
验证建议
pnpm --filter @text2sql/frontend run lintpnpm --filter @text2sql/frontend run testpnpm --filter @text2sql/frontend run buildpnpm --filter @text2sql/backend run testpnpm --filter @text2sql/backend run build风险与回滚
settings/modeling与workspace-modeling相关改动。