Skip to content

Add MYPRIMETYPE and layout stats box#893

Open
mahithapen wants to merge 1 commit intodrawdb-io:mainfrom
mahithapen:codex/new-branch-20260305
Open

Add MYPRIMETYPE and layout stats box#893
mahithapen wants to merge 1 commit intodrawdb-io:mainfrom
mahithapen:codex/new-branch-20260305

Conversation

@mahithapen
Copy link

  1. New datatype: MYPRIMETYPE
  • Added MYPRIMETYPE to datatype maps so it is available in the editor/type selectors.
  • Added validation logic for defaults:
    • accepts positive odd integers (1, 3, 5, 7, 9, 11, ...) per requested pattern.
  • Integrated across DB maps to avoid export/import/check issues when switching dialects.
  1. New Layout Stats Box
  • Added StatsBox component to the editor canvas.
  • Displays live layout/graph stats:
    • number of tables
    • number of relationships
    • total fields
    • average fields per table
    • max depth
    • max out-degree
    • connected components
    • isolated tables
    • bounding width / bounding height

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