Socket
Book a DemoInstallSign in
Socket

@gregoriusrippenstein/node-red-contrib-auto-alignment

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gregoriusrippenstein/node-red-contrib-auto-alignment

Demonstrate how auto alignmnet could work in Node-RED.

latest
Source
npmnpm
Version
0.0.8
Version published
Maintainers
1
Created
Source

Auto Layout of Node-RED Flows

Auto Layout Node-RED node flows.

Deprecated

This package is deprecated in favor of @bartbutenaers/node-red-autolayout-sidebar. As such, this codebase will no longer be maintained and all updates shall be done on the sidebar version of this node.

Warning

This node uses third-party Javascript libraries to do node alignment. The following libs will be loaded into your browser upon use:

both hosted at cdn.openmindmap.org.

Usage

Select a single node in a flow that should be aligned/laid out. Then hit the button no this node:

img

Step 1 select a single node for a flow, step 2 click the button on the AutoAlign node with the corresponding algorithm. After that you should see this:

img

Select the algorithm in the property panel:

img

Pull Request #2267 is a Node-RED own auto layout algorithm which is provided as comparison. It uses neither of the libraries needed for the other algorithms.

The example flow provides one node per algorithm so that each can be tested in turn.

Libraries

More details on the libraries used:

Testing other algorithms

If you want to test algorithms, there is an experimental flow that can help and a discussion around auto-layout in Node-RED.

Artifacts

Keywords

node-red

FAQs

Package last updated on 05 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts