Go to file
Dimitrie Hoekstra eaf68815fd
Implement smooth zoom functionality with pinch-to-zoom support
- Add smooth zoom animation with 125ms duration and easing curves
- Implement space+scroll zoom mode alongside existing Alt+scroll
- Fix pinch-to-zoom with proper ratio-based scaling and fixed focal point
- Add gesture state management for consistent zoom behavior
- Enhance spacebar handling to prevent scroll artifacts
- Fix zoom button layout (correct zoom in/out direction)
- Add zoom animation utilities (view-zoom-animator.js)
- Add zoom configuration constants (view-zoom-constants.js)
- Fix scale lock issues with improved tolerance handling
- Update Gruntfile to include new zoom modules in build

Features implemented:
- Smooth animated zoom transitions (125ms with ease-out)
- Space+scroll for zoom mode
- Fixed focal point during pinch gestures
- No scroll artifacts when pressing space
- Proper state management when cursor leaves canvas
- Natural acceleration/deceleration curves

Known issue: Trackpad pinch-to-zoom needs additional work on macOS
2025-10-14 10:04:29 +01:00
.github add 24 to test matrix 2025-07-04 15:01:30 +01:00
packages/node_modules Implement smooth zoom functionality with pinch-to-zoom support 2025-10-14 10:04:29 +01:00
scripts Bump for 4.0.5 2024-10-10 11:05:08 +01:00
test Merge pull request #5290 from node-red/5283-fix-ui-lockup-for-typed-arrays 2025-10-09 11:24:43 +01:00
.gitattributes Prevent github from suppressing diffs 2018-09-24 22:02:18 +01:00
.gitignore Add .editorconfig to .gitignore 2025-02-24 19:01:17 +01:00
.jshintrc fix to allow es11 for jshint check 2022-11-07 10:42:07 +09:00
API.md Update api docs header 2021-04-27 17:30:30 +01:00
CHANGELOG.md Bump for 4.1.1 release 2025-10-13 11:37:18 +01:00
CITATION.cff add citation file 2024-08-31 04:32:01 +02:00
CODE_OF_CONDUCT.md Add CoC.md 2016-04-07 21:51:12 +01:00
CONTRIBUTING.md Update CONTRIBUTING.md 2023-09-18 21:03:46 +01:00
Gruntfile.js Implement smooth zoom functionality with pinch-to-zoom support 2025-10-14 10:04:29 +01:00
LICENSE Update top-level copyright statements 2020-09-29 20:28:15 +01:00
README.md Migrate http -> https for nodered.org 2023-09-05 14:55:56 +02:00
SECURITY.md docs: add security escalation policy 2025-09-15 15:07:17 +02:00
jsdoc.json More api documentation updates 2019-01-28 14:40:42 +00:00
nodemon.json Fix grunt dev via better ndoemon ignore rules 2025-01-15 10:32:10 +00:00
package.json Bump for 4.1.1 release 2025-10-13 11:37:18 +01:00

README.md

Node-RED

https://nodered.org

Build Status

Low-code programming for event-driven applications.

Node-RED: Low-code programming for event-driven applications

Quick Start

Check out https://nodered.org/docs/getting-started/ for full instructions on getting started.

  1. sudo npm install -g --unsafe-perm node-red
  2. node-red
  3. Open http://localhost:1880

Getting Help

More documentation can be found here.

For further help, or general discussion, please use the Node-RED Forum or slack team.

Developers

If you want to run the latest code from git, here's how to get started:

  1. Clone the code:

     git clone https://github.com/node-red/node-red.git
     cd node-red
    
  2. Install the node-red dependencies

     npm install
    
  3. Build the code

     npm run build
    
  4. Run

     npm start
    

Contributing

Before raising a pull-request, please read our contributing guide.

This project adheres to the Contributor Covenant 1.4. By participating, you are expected to uphold this code. Please report unacceptable behavior to any of the project's core team at team@nodered.org.

Authors

Node-RED is a project of the OpenJS Foundation.

It is maintained by:

Copyright OpenJS Foundation and other contributors, https://openjsf.org under the Apache 2.0 license.