diff --git a/client/src/components/graph/graph.js b/client/src/components/graph/graph.js index b71e8469..33f5dca7 100644 --- a/client/src/components/graph/graph.js +++ b/client/src/components/graph/graph.js @@ -5,7 +5,15 @@ import * as d3 from "d3"; import { connect } from "react-redux"; import mat4 from "gl-mat4"; import _regl from "regl"; -import { Button, AnchorButton, Tooltip } from "@blueprintjs/core"; +import { + Button, + AnchorButton, + Tooltip, + Popover, + Menu, + MenuItem, + Position +} from "@blueprintjs/core"; import * as globals from "../../globals"; import setupSVGandBrushElements from "./setupSVGandBrush"; @@ -32,7 +40,8 @@ import { World } from "../../util/stateManager"; scatterplotXXaccessor: state.controls.scatterplotXXaccessor, scatterplotYYaccessor: state.controls.scatterplotYYaccessor, celllist1: state.differential.celllist1, - celllist2: state.differential.celllist2 + celllist2: state.differential.celllist2, + library_versions: _.get(state.config, "library_versions", null) })) class Graph extends React.Component { constructor(props) { @@ -415,9 +424,9 @@ class Graph extends React.Component { dispatch, responsive, crossfilter, - resettingInterface + resettingInterface, + library_versions } = this.props; - const { mode } = this.state; return (