Hallo zusammen, bei mir ist die Anzeige mit den Knoten verstellt, jetzt können einige nicht mehr bedient werden. Hat jemand eine Idee wie ich dies beheben kann?
Hi and welcome to the forum.
What you see in that picture is just a small part of the entire flow.
If you click on the little -
button in the bottom right corner it will zoom out.
There are 3 buttons there. a -
o
and +
.
Or you could scroll the screen by holding the middle mouse button and move the mouse.
From the picture it would be down and to the right.
Keep scrolling until you see the other nodes.
Then, you can move them closer to the other nodes.
And the 4th button brings up a mini map panel that shows a much larger area of the desktop at smaller scale which may also help.
(Sorry, I missed that)
Danke für sie Infos, diese Knoten liegen jedoch außerhalb des dargestellten Bereichs, leider hilft kein Scrollen oder Zoomen, ich komme nicht daran.
Gruss
Hi!
Eine Möglichkeit wäre, die Koordinaten in Deiner flows.json
Datei manuell zurückzusetzen - auf Werte, die innerhalb des Sichtbereiches liegen.
Eventuell hilft es auch, den Flow einmal zu exportieren & dann wieder zu importieren ... in der Absicht, dass NR dann die Koordinaten sinnvoll setzt.
Eine andere - meiner Meinung nach die beste - Option: Es gibt seit ein paar Tagen die node-red-autolayout-sidebar - ein Plugin von @BartButenaers (installierbar über den Paletten Manager), das einen Flow automatisch anordnen kann. Das Plugin ist experimental, das Ergebnis somit vielleicht noch nicht in allen Fällen perfekt - in diesem aber evtl. vollkommen ausreichend!
Erstmals vielen Dank an alle Ratschläge.
Ich weiss leider nicht wie ich die Koordinaten Manuell zurücksetzen kann. Das installieren der autolayout - sidebar hat nicht funktioniert, es gab ein Error.
Ich konnte jedoch die betr. Knoten ( alles Inject) nachbauen, und somit hat es sich erledigt, Gruss an alle
Ping to @BartButenaers. I can confirm:
25 Oct 18:35:51 - [info] Installing module: @bartbutenaers/node-red-autolayout-sidebar, version: 0.0.2
25 Oct 18:35:55 - [warn] Installation of module @bartbutenaers/node-red-autolayout-sidebar failed:
25 Oct 18:35:55 - [warn] ------------------------------------------
25 Oct 18:35:55 - [warn] npm WARN config production Use `--omit=dev` instead.
npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: @dagrejs/graphlib@2.1.13
npm ERR! notsup Not compatible with your version of node/npm: @dagrejs/graphlib@2.1.13
npm ERR! notsup Required: {"node":">17.0.0"}
npm ERR! notsup Actual: {"npm":"8.19.2","node":"v16.18.1"}
@ralphwetzel,
Thanks for letting me know!
I wasn't aware that dagrejs library requires minimal nodeJs version 17.0.0
But indeed I see it in their package.json file
I have added a warning to the installation section on our readme page.
Bart
Wouldn't it be preferable to alter your plugins package.json
as well?
Ah euh... Nice catch!
Seems I have cloned a very old package.json file to start this new sidebar plugin.
Busted
I have updated the minimum required NodeJs version number to 17.0.0
This fix will be released as soon as our next sidebar version is published on npm
Thanks for the tip!!
As we only support LTS versions of node you may as well make it node18
That is true... Consider it done!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.