retejs / connection-path-plugin

Home Page:https://retejs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arrow not rendered on redo with rete-history-plugin

wafl22 opened this issue · comments

When connecting two Nodes, then undo it via CTRL + Y, and then redo using CTRL + Z, the connection gets re-created, but my custom arrow does not get rendered.

Demo:
2 Nodes:
image

Connect those nodes:
image

Undo with CTRL + Y:
image

Redo with CTRL + Z:
image

I'm not 100% sure if this behaviour is caused by connection-path-plugin not correctly reacting to some events emitted by rete or the rete-history-plugin not emitting some event which is neccessary to render the arrow.