"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 a link from a subgraph input, skip an input the new node does
not have or has with a type that does not fit, as connect() does for
a link from a node; a subgraph input's connect() checks neither
- Add a CHANGELOG entry
Follow-up to #3443. The manager-v4 port, #3512, carries the browser
test.