"Fix node (recreate)" looked a node's links, and the nodes at their
other end, up in app.graph, the root graph. A subgraph keeps its own
links and nodes, so inside a subgraph the lookup found nothing: the
entry threw "Cannot read properties of undefined" and, because the
original is removed only afterwards, left the wired original and an
unwired replacement on the canvas.
- Read links and nodes from the graph the node is in
- Reconnect a link that starts at an input of the subgraph, or ends at
one of its outputs, through that slot; those two are not nodes of
the graph
- For such a link, skip an input the new node does not have, as
connect() does for a link from a node
- Add a CHANGELOG entry
Follow-up to #3443. The manager-v4 port carries the browser test.