i didn't make up 'layouted' (#724)

This commit is contained in:
Michael Quigley 2024-12-19 23:13:37 -05:00
parent f47bec6df7
commit db85823151
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -66,9 +66,9 @@ const Visualizer = ({ vov, onSelectionChanged }: VisualizerProps) => {
useEffect(() => {
if(vov) {
let layouted = layout(vov.nodes, vov.edges);
setNodes(layouted.nodes);
setEdges(layouted.edges);
let laidOut = layout(vov.nodes, vov.edges);
setNodes(laidOut.nodes);
setEdges(laidOut.edges);
}
}, [vov]);