rpd icon indicating copy to clipboard operation
rpd copied to clipboard

Import not working (duplicate inlet/outlet)

Open badgeek opened this issue 6 years ago • 5 comments

when i try to import node from json/plain, everything seems duplicated both inlet and outlet, any fix to this?

badgeek avatar Jul 13 '18 02:07 badgeek

@badgeek Please give me the example of your code. What do you mean by importing from JSON? Is just the node definition stored there?

shamansir avatar Jul 14 '18 07:07 shamansir

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/

badgeek avatar Jul 14 '18 08:07 badgeek

Hmm, now I got the problem, thank you! I will try to investigate into it.

shamansir avatar Jul 14 '18 20:07 shamansir

And it's very nice to see the project has its usage and it looks awesome! :)

shamansir avatar Jul 14 '18 20:07 shamansir

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

badgeek avatar Jul 14 '18 23:07 badgeek