373267c53b
This introduces a much more consistent set of events within the editor for whenever a element is added, removed or modified. The events emited on the `RED.events` event system. The event names take the form: `"<thing>:<action>"`. `<thing>` can be one of: - nodes - flows - subflows - groups - links `<action>` can be one of: - add - remove - change The payload of the events is the object in question. There is also: - flows:reorder - when tabs are reordered. Payload is array of flow ids. - workspace:clear - when the workspace is emptied - part of switching projects The `nodes:change` event was already used by RED.nodes.dirty() to cause the Deploy button to become active. This renames that event to: - workspace:dirty - Payload is boolean flag for the dirty state This commit also updates the Palette to use the subflows:change event to only redraw subflows that have actually changed rather than refresh them all whenever one of them *might* have changed. This removes a noticable flicker of the icon which was needlessly being redrawn. |
||
---|---|---|
.github | ||
packages/node_modules | ||
scripts | ||
test | ||
.gitattributes | ||
.gitignore | ||
.jshintrc | ||
.nodemonignore | ||
.travis.yml | ||
API.md | ||
CHANGELOG.md | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
Gruntfile.js | ||
jsdoc.json | ||
LICENSE | ||
package.json | ||
README.md | ||
SECURITY.md |
Node-RED
Low-code programming for event-driven applications.
Quick Start
Check out http://nodered.org/docs/getting-started/ for full instructions on getting started.
sudo npm install -g --unsafe-perm node-red
node-red
- 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:
-
Clone the code:
git clone https://github.com/node-red/node-red.git cd node-red
-
Install the node-red dependencies
npm install
-
Build the code
npm run build
-
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 was created by IBM Emerging Technology.
- Nick O'Leary @knolleary
- Dave Conway-Jones @ceejay
Copyright and license
Copyright JS Foundation and other contributors, https://openjsf.org under the Apache 2.0 license.