Skip to content

Comments

Drag and drop nodes#93

Merged
RemDelaporteMathurin merged 18 commits intomainfrom
dragdrop
Aug 4, 2025
Merged

Drag and drop nodes#93
RemDelaporteMathurin merged 18 commits intomainfrom
dragdrop

Conversation

@tasnimxvi
Copy link
Contributor

No description provided.

@tasnimxvi tasnimxvi requested a review from jhdark August 1, 2025 21:41
Copy link
Contributor Author

@tasnimxvi tasnimxvi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tried to implement Drag and Drop from https://reactflow.dev/examples/interaction/drag-and-drop but I am definitely doing something wrong because screen is blank when I try to run the program. But inspect element shows no issues. Any idea where I might be off would be highly appreciated!
Note that their structure in App.jsx is different from ours - theirs doesn't have Main App () component and where that's our default export in our App.jsx, theirs is at the bottom. And you can't have multiple default exports on one file... I feel like the issue might be there.

@tasnimxvi tasnimxvi requested review from RemDelaporteMathurin and removed request for jhdark August 1, 2025 21:45
Copy link
Collaborator

@RemDelaporteMathurin RemDelaporteMathurin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tasnimxvi I'm happy with this for now and I think we can merge this.

Other things to improve this system are:

  • add a button to collapse/"uncollapse" this side bar
  • categorise the nodes somehow. One node can have several categories

@RemDelaporteMathurin RemDelaporteMathurin changed the title Drag and drop branch (draft, do not merge) Drag and drop nodes Aug 4, 2025
@RemDelaporteMathurin RemDelaporteMathurin linked an issue Aug 4, 2025 that may be closed by this pull request
@RemDelaporteMathurin RemDelaporteMathurin merged commit d25d5ce into main Aug 4, 2025
3 checks passed
@RemDelaporteMathurin RemDelaporteMathurin deleted the dragdrop branch August 7, 2025 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

System to add node

2 participants