{
- setHoveredNodeId(undefined);
- setHoverAnchor(undefined);
- }}
- >
-
{
- if (state === GraphState.ATTACHED) {
- if (active) start();
- attachedRef.current = true;
- setAttached(true);
- }
- }}
- />
- {active && hoverAnchor && hoveredNode && (
- {
- if (!open) setHoverAnchor(undefined);
- }}
- >
-
-
- )}
-
-
-
-
-
-
-
-
-
-
-
- {popup && popupContent !== null && (
-
- {popupContent}
-
- )}
-
- );
- },
-);
-
-function changeZoom(graph: ReturnType