()
| 255 | } |
| 256 | |
| 257 | function resetGraph() { |
| 258 | shouldFitViewRef.current = true; |
| 259 | setExpandedEntityIds(new Set(props.graph.entities[0] ? [props.graph.entities[0].id] : [])); |
| 260 | setExpandedEventIds(new Set()); |
| 261 | setSelectedNodeId(null); |
| 262 | } |
| 263 | |
| 264 | function expandAll() { |
| 265 | shouldFitViewRef.current = true; |
nothing calls this directly
no outgoing calls
no test coverage detected