diff --git a/client/app/scripts/charts/node.js b/client/app/scripts/charts/node.js index afc1555f3..4b243e8dd 100644 --- a/client/app/scripts/charts/node.js +++ b/client/app/scripts/charts/node.js @@ -105,18 +105,22 @@ 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 ? svgLabels(label, subLabel, labelClassName, subLabelClassName, labelOffsetY) : - -
+ +
@@ -127,7 +131,7 @@ class Node extends React.Component {
} - +