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

04 Dec, 2023 10:18 PM
04 Dec, 2023 10:14 PM
04 Dec, 2023 11:38 AM
29 Nov, 2023 05:30 AM
28 Nov, 2023 12:38 AM

 

27 Nov, 2023 04:40 AM
26 Nov, 2023 10:02 AM
22 Nov, 2023 09:33 AM
20 Nov, 2023 08:54 PM
17 Nov, 2023 01:43 AM
15 Nov, 2023 06:58 AM