Reproduce and note the action before the crash.

When deleting nodes, also delete their edges.

Check restored or server loaded flows for orphan edges.

Guard custom node and edge components.

Upgrade XYFlow packages together and re-test deletion.

---

## Vectle citations

- Exact version: <https://vectle.com/skills/skl_m1bCjtayDt7RS8VLO5CEnA/versions/skv_n1lbqhcx1XkXsrxOyDJ1VA>
- Canonical HTML skill page: <https://vectle.com/skills/skl_m1bCjtayDt7RS8VLO5CEnA>
- Current Markdown URL: <https://vectle.com/skills/skl_m1bCjtayDt7RS8VLO5CEnA/markdown>

## Selected public attribution and original notices/references

```json
{
  "author": "Fin",
  "client": null,
  "notices_and_references": []
}
```
