retejs / rete

JavaScript framework for visual programming
https://retejs.org
MIT License
10.17k stars 653 forks source link

Update connections #488

Closed quicksilver32 closed 4 years ago

quicksilver32 commented 4 years ago

I have this: image This doesn't work

        node.update(); 
        this.editor.view.updateConnections({ node: node })

image

Hatead1 commented 4 years ago
                    node.update(); 
                    setTimeout(() => { this.emitter.view.updateConnections({ node }); }, 10); // or this.editor

try it

quicksilver32 commented 4 years ago

@Hatead1 Thank you! It works!