Skip to content

yushiang-demo/react-rnd-group

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-rnd-group

This project demonstrates how to extend react-rnd for group resizing and dragging with hierarchical transformations, implemented using matrix manipulations.

file Descriptions
Node.js Handles all calculations for groups.
Nodes.js Handles user interactions, including selecting and deselecting items.
DraggableNode.js The component using react-rnd.
useForceUpdate.js Triggers re-renders to calculate the correct transform when some item changes.
data.js Describes the coordinates of the items for this demo.

Demo

demo

Releases

No releases published

Packages

No packages published