Drawflow icon indicating copy to clipboard operation
Drawflow copied to clipboard

Ajustment to load outputs with same Ids saved

Open danieldvc opened this issue 3 years ago • 1 comments

When some output is removed, the order of outputs affect correct render os connectors when flow is reloaded.

danieldvc avatar Sep 27 '21 22:09 danieldvc

Hi @danieldvc

Thanks for PR.

Can you elaborate more on the problem that it corrects?

For example in node with 3 outputs. Using:

/* 
Node 13  
output_1
output_2
output_3

*/
editor.removeNodeOutput(13,'output_2');

/* 
When using the removeNodeOutput function the numbers are corrected
Node 13  
output_1
output_2 // (output_3 is renamed)

*/

The export always exports in order, is it removing the output in another way?

jerosoler avatar Sep 28 '21 16:09 jerosoler