{"id":19220606,"url":"https://github.com/gorenje/node-red-contrib-auto-alignment","last_synced_at":"2025-06-29T03:36:09.895Z","repository":{"id":197553818,"uuid":"698882726","full_name":"gorenje/node-red-contrib-auto-alignment","owner":"gorenje","description":"Node-RED auto layout/alignment node","archived":false,"fork":false,"pushed_at":"2023-11-05T18:31:47.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-04T21:46:19.184Z","etag":null,"topics":["auto-layout","node","node-red","visual-programming"],"latest_commit_sha":null,"homepage":"https://flowhub.org/f/3de89bdf647951dc","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gorenje.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-01T09:12:29.000Z","updated_at":"2023-10-01T09:46:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"4fef36a4-18fa-429f-aa64-242bfced8cef","html_url":"https://github.com/gorenje/node-red-contrib-auto-alignment","commit_stats":null,"previous_names":["gorenje/node-red-contrib-auto-alignment"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorenje%2Fnode-red-contrib-auto-alignment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorenje%2Fnode-red-contrib-auto-alignment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorenje%2Fnode-red-contrib-auto-alignment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorenje%2Fnode-red-contrib-auto-alignment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gorenje","download_url":"https://codeload.github.com/gorenje/node-red-contrib-auto-alignment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240293745,"owners_count":19778576,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["auto-layout","node","node-red","visual-programming"],"created_at":"2024-11-09T14:35:39.538Z","updated_at":"2025-02-23T09:22:33.186Z","avatar_url":"https://github.com/gorenje.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auto Layout of Node-RED Flows\n\nAuto Layout Node-RED node flows.\n\n## Deprecated\n\nThis package is **deprecated** in favor of \u003ca href=\"https://github.com/bartbutenaers\"\u003e@bartbutenaers\u003c/a\u003e/\u003ca href=\"https://github.com/bartbutenaers/node-red-autolayout-sidebar\"\u003enode-red-autolayout-sidebar\u003c/a\u003e. As such, this codebase will no longer be maintained and all updates shall be done on the \u003ca href=\"https://flows.nodered.org/node/@bartbutenaers/node-red-autolayout-sidebar\"\u003esidebar version\u003c/a\u003e of this node.\n\n### Warning\n\nThis node uses third-party Javascript libraries to do node alignment. The following libs will be loaded into your browser upon use:\n\n- [elk.bundled.js](https://cdn.openmindmap.org/thirdparty/elk.bundled.js) \n- [dagre.min.js](https://cdn.openmindmap.org/thirdparty/dagre.min.js) \n\nboth hosted at [cdn.openmindmap.org](https://github.com/gorenje/cdn.openmindmap.org).\n\n### Usage\n\nSelect a single node in a flow that should be aligned/laid out. Then hit the button no this node:\n\n![img](https://cdn.openmindmap.org/content/1696154885193_Screen_Shot_2023-10-01_at_12.04.56.png)\n\nStep 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:\n\n![img](https://cdn.openmindmap.org/content/1696154889365_Screen_Shot_2023-10-01_at_12.05.10.png)\n\nSelect the algorithm in the property panel:\n\n![img](https://cdn.openmindmap.org/content/1696155294954_Screen_Shot_2023-10-01_at_12.14.15.png)\n\n[Pull Request #2267](https://github.com/gorenje/cdn.openmindmap.org) is a Node-RED own auto layout algorithm which is provided as comparison. It uses neither of the libraries needed for the other algorithms.\n\nThe [example flow](https://flowhub.org/f/b22f47c724215b2a) provides one node per algorithm so that each can be tested in turn.\n\n### Libraries\n\nMore details on the libraries used:\n\n- [dagre](https://github.com/dagrejs/dagre)\n- [ELKjs](https://github.com/kieler/elkjs)\n\n### Testing other algorithms\n\nIf you want to test algorithms, there is an [experimental flow](https://flowhub.org/f/291e3f0b7f652839) that can help and a [discussion](https://discourse.nodered.org/t/node-red-auto-layouting-using-elkjs-dagre/81052) around auto-layout in Node-RED. \n\n### Artifacts\n\n- [Flow maintaining this codebase](https://flowhub.org/f/3de89bdf647951dc)\n- [GitHub repo](https://github.com/gorenje/node-red-contrib-auto-alignment)\n- [NPMjs node package](https://www.npmjs.com/package/@gregoriusrippenstein/node-red-contrib-auto-alignment)\n- [Node-RED node package](https://flows.nodered.org/node/@gregoriusrippenstein/node-red-contrib-auto-alignment)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgorenje%2Fnode-red-contrib-auto-alignment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgorenje%2Fnode-red-contrib-auto-alignment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgorenje%2Fnode-red-contrib-auto-alignment/lists"}