NodeEditor Plus [Unofficial]
 1-20  21-40  41-60  …  81

Next
 From:  MO (MO_TE)
11614.1 
Hi everyone
It seems developing the nodeeditor plugin is abandoned or at least it is not currently in active progress.
So I decided to give it a try and make a slightly boosted version of it.
This is a modified version of Max Smirnov's nodeeditor to add some of the useful features of Javi Agenjo's litegraph library and atlasan's forked project.
I decided to change it's name to "NodeEditor Plus" to prevent confusion with the original version.

Some of the new features:
  • Searchbox
  • Groups
  • Auto Connect
  • Slot Extesions
  • Graph History
  • Strings
  • Node Library
  • and more

( See the ChangeLog.txt file for a complete list of changes )

I've also revised all the nodes and menus for a lighter, more unified ui.
Special thanks to James for testing new features and nodes and his great suggestions.
Also, Thanks to Michael Gibson for helping me with node library.

******* Installation *********
1- Extract the NodeEditorPlus_[latestVersion].zip file and copy the 'NodeEditorPlus' folder to the moi appdata directory.
2- Add a shortcut and put this code in the command section:
code:
var theme = 'Default'; /* Theme options: Default,Light,SkyBlue,Autumn,Lavender */
var language = 'EN'; /* Language options: EN,RU,FR */
moi.ui.createDialog( 'moi://appdata/NodeEditorPlus/index.html?scheme='+theme+'&lang='+language+'', 'resizeable,defaultWidth:870,defaultHeight:480', moi.ui.mainWindow );

3- Done!


Where is the moi appdata directory?

On Windows open the Start menu and type %AppData%\Moi and push Enter, which will expand to something like C:\Users\<Your user name>l\AppData\Roaming\Moi

On Mac the appdata folder is at "~/Library/Application Support/Moi", note that the Library folder is hidden by default, you can show it by holding down Shift+Cmd+. (period), or from the menu use Go > Go to Folder


If you are interested in nodes, Check out the "Quick Start" pdf file and "ChangeLog" text file for more information. ( Documentation folder)


********** Credits ***********
Javi Agenjo's LiteGraph library
https://github.com/jagenjo/litegraph.js
Max Smirnov's nodeeditor
Atlasan
https://github.com/atlasan/litegraph.js
space-nuko ( nodes to macro )
https://github.com/space-nuko/litegraph.ts/blob/d7bf6085d1719febf8c52d084e317c64befc0548/packages/core/src/nodes/Subgraph.ts#L299

EDITED: 9 Jan by MO_TE


Image Attachments:
Size: 150.8 KB, Downloaded: 145 times, Dimensions: 960x968px
Size: 156.3 KB, Downloaded: 27 times, Dimensions: 1920x1039px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Barry-H
11614.2 In reply to 11614.1 
Hi Mo,
many thanks for sharing looks a lot of work.
Just one question can the ms be toggled on and off.
Cheers
Barry
Merry Xmas
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  MO (MO_TE)
11614.3 In reply to 11614.2 
Hi Barry. Thanks :)

I'm not sure if I understand correctly, but, I guess you are referring to timer node.
If so, Yes you can set the "Time Mode" to "Pulse". It'll trigger a 0-1 output every time interval.
Also, you can switch off the timer by setting a 0 or negative value to "Switch" input. ( Or use Widget/Button )
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Barry-H
11614.4 In reply to 11614.3 
Hi Mo,
The milli seconds are displayed by each node in old nodeditor these could be toggled on or off by double clicking on them.
Hope that makes sense.
Love the colour picker and ability to have different colours for Boolean objects.
Would be nice if the object library tab was larger but the ability to save plus image excellent.
Anyway again many thanks.
Have a good Xmas
Cheers
Barry
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
11614.5 In reply to 11614.1 
Does this new one can works beside the old one ?

So i can launch the old or the new Plus as i want ?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
11614.6 In reply to 11614.5 
I installed the NE Plus version today.

Load of my Yarn node program worked fine. The 4th datatype was added to the Math nodes, with no connections, and the program ran just fine.
After saving the program, it loaded into the old NE program, but the new function datatype inputs showed up, and the nodes were Red, and program would not run.
Old programs still run in the old NE program.

- Brian

ps So far I like the new version, and the additional capabilities seem desirable and possible.

Edit upon closing and re-opening MoI, the New shortcut key is no longer installed (assigned new code)...so it does not work.
Edit: redid shortcut key, and now the new programs works, and survives re-opening of MoI.

The shortcut resizable window setting of the new version does NOT seem to work.

EDITED: 22 Dec 2024 by BEMFARMER

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
11614.7 In reply to 11614.6 
I replaced the
<<<scheme='+theme+'&lang='+language+'', 'resizeable,defaultWidth:870,defaultHeight:480',moi.ui.mainWindow );>>>
portion of the shortcut key with:

<<<scheme=Light', 'resizeable,defaultWidth:870,defaultHeight:480', moi.ui.mainWindow );>>>

An now the resizable portion of the shortcut key works.

Since I do not know what I am doing, perhaps MO can comment. :-)

- Brian

ps, resizable is spelled resizeable, in the UK, as far as I can determine :-)
(computing, formal, UK) Alternative form of resizable.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  MO (MO_TE)
11614.8 In reply to 11614.4 
Barry
Ok. You mean the "node elapsed time" and canvas info.
I removed that function because in this version double clicking on the canvas will open the search box.

If you don't need extra canvas info, you can change the "show_info" value to false.
Open the main.js and go to line 4405.
like this:
this.show_info = false;
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  MO (MO_TE)
11614.9 In reply to 11614.5 
Hi PILOU

>> Does this new one can works beside the old one ?
>> So i can launch the old or the new Plus as i want ?

I think you can load most of the old .nod files inside this version.
But, loading nodes created by this version inside old nodeeditor probably is not possible, Because I changed and moved so many nodes to new menus.
Also, there are some new nodes, widgets and data types in this version that older version doesn't support.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11614.10 In reply to 11614.1 
Great work Mo, thanks for sharing it!

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  MO (MO_TE)
11614.11 In reply to 11614.7 
Hi Brian

>> it loaded into the old NE program, but the new function datatype inputs showed up, and the nodes were Red, and program would not run.

As I mentioned before, some of the new features of this version are not supported in the older version.
For example, string type, widgets like button and toggle, and so many node relocation. So that's normal if older version fails to load files of this version.

>> The shortcut resizable window setting of the new version does NOT seem to work.
>> perhaps MO can comment. :-)

Sorry. I have no idea, It works fine for me here. :)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  MO (MO_TE)
11614.12 In reply to 11614.10 
Thanks Michael :)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
11614.13 In reply to 11614.11 
Thanks MO,

Here at home, still on Windows 10.
I'll try it at work tomorrow, (Windows 11).

Thank you very much for this new nodeeditor.

- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11614.14 In reply to 11614.6 
Hi Brian,

re:
> The shortcut resizable window setting of the new version does NOT seem to work.

Is there any error message displayed?

If you get an error dialog that says "ReferenceError: Can't find variable: theme" then it probably means you only got the last line (starting with "moi.ui.createDialog") copied, make sure you copy all 3 lines.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11614.15 In reply to 11614.6 
Hi Brian,

for this part:
> Edit upon closing and re-opening MoI, the New shortcut key is no longer installed
> (assigned new code)...so it does not work.

This can happen if you have multiple instances of MoI running when you set up a new shortcut key.

MoI will save shortcut keys to the moi.ini file when it exits, and if you exit an instance that did not have the shortcut key set in it last it will get overwritten.

So it's good to have only one instance of MoI running when you are setting up shortcuts, and then close that one before you open up any more.

I've tuned this up a bit for the next beta so that it will write changes to the moi.ini immediately after editing any shortcuts. You should still have only one instance running but you won't need to close it to get moi.ini to be updated.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
11614.16 In reply to 11614.14 
Hi Michael,

I have tried numerous permutations of changing the Shortcut key. Including Alt+T, Ctrl+Alt+T, Ctrl+Alt+X, and rebooting the computer.
Setting Alt+T to my modified code, I am able to get Light, and Lavender.

For the PDF specified shortcut code, I am now "stuck" on default dark theme, but with the large canvas. A while back the canvas size was remaining small.

Setting Ctrl+Alt+T to the PDF specified shortcut code, with copy & paste, numerous times, and changing the Default theme to Light, or Lavender, etc, does NOT change from default Dark.

After a reboot, the canvas display is delayed, with a very brief flash of light color.

It is almost like there is a Cache of the default dark theme, but reboot should end this. (?)

(I was able to change the default language to FR, with no problem.)

Anyway, weird stuff. (Windows 10)

I do have the recent new alternate Themes installed, but am not using them.

Is anyone else having NodeeditorPlus Theme problems?

- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
11614.17 
Theme problem SOLVED!

I was copying the shortcut command from a PDF program which opened the NEPlus document PDF file.
Apparently the PDF program put in some BAD characters of some sort.

So copying the shortcut code from MO's code on the MoI discussion worked fine.

I think that the PDF reader program was from MS Edge(???)

- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
11614.18 In reply to 11614.17 
With further testing, I'll conclude that "Copying the Shortcut code from the PDF documentation via Edge, Google chrome, or Adobe does NOT work properly, even though the characters visually appear correct.

Copying from the MoI forum works.
I suppose that typing the pdf code manualy would probably work.(?)

- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11614.19 In reply to 11614.18 
I'm glad you got it figured out Brian!

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Barry-H
11614.20 In reply to 11614.8 
Hi Mo,
Perhaps the option to toggle on and off the time elapse could be added to the node menu?
Cheers
Barry
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
Show messages:  1-20  21-40  41-60  61-80  81