Can we use the NodeBox 1 library from within NodeBox 3?

john's Avatar

john

10 Feb, 2019 12:31 PM

Hi Frederik,

I haven't spent much time looking at NodeBox 1, but by chance stumbled upon the NodeBox Library and was amazed at all the wonderful things there.

My Python skills are fairly primitive and as you know I love NodeBox 3 and prefer to do as much as possible within that. But when push comes to shove I can make simple custom nodes. Is there any way to create custom nodes for NodeBox 3 that access some of the amazing code in the NodeBox Library?

For example, would it be possible to create a graph using NodeBox objects (points for nodes, lines between point pairs for edges, strokeWidth for edge weights - or maybe just a table with node and edge properties) then pass that to a custom node to apply a spring (force) layout and return it in a form NodeBox 3 could use?

There are probably a thousand other such examples. Are any of these wonders accessible from within NodeBox 3? If so, could you provide an example NodeBox 3 custom node that shows how to do it?

John

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

24 Aug, 2019 03:14 AM
11 Aug, 2019 01:17 PM
08 Aug, 2019 04:13 AM
02 Aug, 2019 09:27 PM
18 Jul, 2019 10:05 AM

 

12 Jul, 2019 10:39 PM
08 Jul, 2019 12:47 AM
06 Jul, 2019 02:12 AM
29 Jun, 2019 10:13 PM
29 Jun, 2019 10:17 AM
26 Jun, 2019 08:54 AM