feat: added ReactFlow-based node graph #11
Reference in New Issue
Block a user
Delete Branch "feat/visual-programming-interface"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Added ReactFlow to dependencies (@xyflow/react). Added a basic ReactFlow template to test the functionality of ReactFlow and to build the visual programming UI on top of. Also created a basic dummy implementation to start editor development.
The current features include:
to run the unit tests use "npx jest" in the terminal
ref: N25B-114
assigned to @j.gerla
Make this capitalized like other links (sorry, nit pick)
This link is no longer necessary, cause the main
Appdefines a header with a link to home.After this link is removed, the only thing left will be
<VisProgUI>. I suggest putting the contents of./components/VisProgUI.tsxto this file, making code navigation easier.We should avoid using inline styles. Performance is worse, and some of this can be done very easy with the CSS classes in
App.css. Namely:padding,display,flexDirectionandgapcan be covered with just three classes, likeclassName="flex-col gap-lg padding-md".Make this a
.module.cssfile to ensure we get no contamination/conflicts/confusion when two classes (coincidentally) use the same CSS classname.Also requires rewriting the references to these classes, like
classname={styles.outerEditorContainer}instead ofclassname="outer-editor-container".requested review from @0950726
changed this line in version 2 of the diff
added 1 commit
9235b82f- Apply 1 suggestion(s) to 1 file(s)Compare with previous version
Add tests to the code
changed this line in version 3 of the diff
changed this file in version 3 of the diff
added 1 commit
7e739ef1- refactor: changes from feedback on merge requestCompare with previous version
added 6 commits
devf8c152ec- Merge remote-tracking branch 'origin/dev' into feat/visual-programming-interfaceaf7eb5ee- build: added moved depencies for merge with devCompare with previous version
added 3 commits
5a6bcb92- build: moved dependencies for merge with devd3c327c1- fixup! build: moved dependencies for merge with dev1f56eff9- Merge remote-tracking branch 'origin/feat/visual-programming-interface' into...Compare with previous version
marked this merge request as draft from
d3c327c100added 1 commit
e880e00b- style: changed VisProgUI.css to VisProgUI.module.css and updated relevant referencesCompare with previous version
resolved all threads
changed this line in version 7 of the diff
added 1 commit
b365a875- style: moved inline styles to VisProgUI.module.css and used some existing...Compare with previous version
added 1 commit
34dd48ec- fix: updated jest.config.js to allow for folders in the test directoryCompare with previous version
added 1 commit
6a655f62- style: moved all logic from VisProgUI.tsx to VisProg.tsx and the css from...Compare with previous version
added 1 commit
3bd1aa99- chore: added setupFlowTests.ts for ReactFlow specific testingCompare with previous version
added 1 commit
8513be5a- test: added test for onConnect eventCompare with previous version
added 1 commit
b64d4fbd- chore: added test coverage collectionCompare with previous version
added 1 commit
ea79de5e- style: restructured and renamed VisProg.test.tsx to VisProgStores.test.tsxCompare with previous version
added 1 commit
023e1d2b- test: Added tests for setNodes and setEdges.Compare with previous version
added 1 commit
42357217- test: Added test for onReconnectCompare with previous version
added 1 commit
2e2bd587- test: Added test for onReconnectStartCompare with previous version
added 1 commit
1f2b57fb- chore: updated setupFlowTests.ts to properly handle resetting of the flowState for each testCompare with previous version
added 1 commit
48dabb86- test: updated the onReconnectStart test to reflect updated setupFlowTest.tsCompare with previous version
added 1 commit
c8484d28- test: added tests for onReconnectEndCompare with previous version
added 1 commit
8c698d1f- refactor: moved delete logic out of the toolbar declaration and into the FlowStore.Compare with previous version
added 1 commit
80386741- test: added tests for deleteNode functionCompare with previous version
added 1 commit
e1d131e6- feat: updated the phase node creation to better assign ids to new phase and norm nodes.Compare with previous version
added 1 commit
b7cd925c- refactor: moved addNode function outside the handleNode definitionCompare with previous version
added 1 commit
a0324479- refactor: removed start and end nodes from the addNode functionality as they...Compare with previous version
added 1 commit
e1d6b08a- refactor: removed start and end nodes from the addNode functionality as they...Compare with previous version
added 1 commit
9bfc39af- test: added testCompare with previous version
added 1 commit
416025bf- test: added test for nodeId generationCompare with previous version
added 1 commit
7b12ae1f- test: added test for addNode errorCompare with previous version
marked this merge request as ready
changed the description
mentioned in commit
52b839ae51