Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 979 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 979 Bytes

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