diff --git a/client/app/scripts/charts/node.js b/client/app/scripts/charts/node.js index afc1555f3..0b811b5e2 100644 --- a/client/app/scripts/charts/node.js +++ b/client/app/scripts/charts/node.js @@ -105,10 +105,14 @@ class Node extends React.Component { const useSvgLabels = exportingGraph; const size = nodeScale(scaleFactor); const networkOffset = focused ? nodeScale(scaleFactor * 0.67) : nodeScale(0.67); + const mouseEvents = { + onClick: this.handleMouseClick, + onMouseEnter: this.handleMouseEnter, + onMouseLeave: this.handleMouseLeave, + }; return ( - + {useSvgLabels ? @@ -116,7 +120,7 @@ class Node extends React.Component { -
+
@@ -127,7 +131,7 @@ class Node extends React.Component {
} - +