mirror of
https://github.com/openziti/zrok.git
synced 2025-01-03 04:29:19 +01:00
i didn't make up 'layouted' (#724)
This commit is contained in:
parent
f47bec6df7
commit
db85823151
@ -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]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user