Dagre library playground.
npx serve .
for ESM and CORS to work (file://
protocol won't work).
Dagre documentation:
If the incident node has no other connections, remove it with the edge.
Implement https://web.dev/file-system-access load/save where supported
Keep local storage as a fallback for the demo in browsers where it is not and maybe add load and save buttons for that case.