rpd
rpd copied to clipboard
Import not working (duplicate inlet/outlet)
when i try to import node from json/plain, everything seems duplicated both inlet and outlet, any fix to this?
@badgeek Please give me the example of your code. What do you mean by importing from JSON? Is just the node definition stored there?
i managed to fix it by replacing original code in plain import like this:
`
'node/add-inlet': function(command) {
inlets[command[1]] = nodes[command[0]].inlets[command[3]];
},
'node/add-outlet': function(command) {
outlets[command[1]] = nodes[command[0]].outlets[command[3]];
},
`
https://manticoreid.github.io/espnode86/
Hmm, now I got the problem, thank you! I will try to investigate into it.
And it's very nice to see the project has its usage and it looks awesome! :)
thanks also for RPD. im a big fan of data flow programming, was using JSplumb for another project but RPD is more suitable for the project im working on now