import {ForceGraph} from "@d3/disjoint-force-directed-graph"
FileAttachment("graph.json").json()
let graph = [{
}];
chart = ForceGraph(graph, {
nodeId: d => d.id,
nodeGroup: d => d.group,
nodeTitle: d => `${d.id} (${d.group})`,
width,
height: 680,
invalidation // a promise to stop the simulation when the cell is re-run
})