Add show all to time filter. Set default zoom out
This commit is contained in:
@@ -151,6 +151,12 @@ export function VizSmallConnected() {
|
||||
fgRef.current.d3ReheatSimulation();
|
||||
}, [graphData]);
|
||||
|
||||
useEffect(() => {
|
||||
if (fgRef.current) {
|
||||
fgRef.current.zoom(0.01, 0);
|
||||
}
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<div>
|
||||
<ForceGraph2D
|
||||
|
||||
Reference in New Issue
Block a user