Commit f800d6c
authored
Enhance DiscourseGraphPanel with drag-and-drop functionality and state management (#366)
- Implemented drag-and-drop capabilities for nodes and relations within the DiscourseGraphPanel.
- Utilized useMemo for performance optimization in panel item generation and unique relations.
- Introduced drag state management using useAtom for better control over drag events.
- Refactored event handlers for pointer interactions to improve user experience.
- Updated UI to reflect dragging state with a preview of the dragged item.1 parent 0673532 commit f800d6c
1 file changed
+334
-84
lines changed
0 commit comments