feat(ui-concerto-editor): add graphical editor for Concerto data models#449
Merged
mttrbrts merged 3 commits intoMay 18, 2026
Merged
Conversation
d0cfbd8 to
1b5c0ae
Compare
Member
|
Thank you for the contribution @soniaduma. Can you fix the DCO sign-off for your commits, please? |
e6d532a to
3c6e6d7
Compare
Add new package `ui-concerto-editor` — a React Flow-based visual editor for Concerto data models. Supports visual editing of concepts, enums, scalars, and map declarations with drag-and-drop, inline property editing, and bidirectional CTO ↔ graph synchronization using the official Concerto Parser/Printer. Signed-off-by: Sonia Duma <nicoladuma31@gmail.com>
Signed-off-by: Sonia Duma <nicoladuma31@gmail.com>
- Fix useNodesState/useEdgesState to use explicit Node/Edge type params so TypeScript infers the correct types instead of never[] - Remove enableMapType option from ModelManager (removed in concerto-core v4, map types are now enabled by default) - Upgrade @accordproject/concerto-core and concerto-cto from ^3.25.7 to ^4.1.0 - Upgrade @xyflow/react from ^12.0.0 to ^12.10.2 - Upgrade vite-plugin-node-polyfills from ^0.22.0 to ^0.26.0 - Align @types/react and @types/react-dom to ^18.3.0 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Matt Roberts <code@rbrts.uk> Signed-off-by: Sonia Duma <nicoladuma31@gmail.com>
3c6e6d7 to
ad0399e
Compare
Contributor
Author
Done, thanks! |
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.
Summary
Adds a new
@accordproject/ui-concerto-editorpackage providing a graphical (visual) editor for Concerto data models using React Flow (@xyflow/react).extendsdeclarationsChanges
packages/ui-concerto-editor/— new package: React Flow-based graphical editor componentsuseNodesState/useEdgesStateexplicit type parameters (Node[]/Edge[])enableMapTypeoption (enabled by default in concerto-core v4)@accordproject/concerto-coreandconcerto-ctofrom^3.xto^4.1.0@xyflow/reactfrom^12.0.0to^12.10.2vite-plugin-node-polyfillsto^0.26.0, align@types/react*to^18.3.0Flags
Related Issues
Author Checklist
--signoffoption of git commit.masterfromfork:branchname