Loading src/components/GraphEditor/GraphEditor.jsx +3 −2 Original line number Diff line number Diff line Loading @@ -463,7 +463,7 @@ ${activeSelection.includes(edgeId) ? ' in-active-selection' : ''}`, } }); this.cy.on('vclick', (e) => { this.cy.on('vclick', 'node', (e) => { this.reposition = {}; const {setActiveSelection, gmeClient} = this.props; const {createPointer} = this.state; Loading Loading @@ -504,7 +504,7 @@ ${activeSelection.includes(edgeId) ? ' in-active-selection' : ''}`, this.setState({ createPointer: { nodeId: createPointer.nodeId, prtName: createPointer.prtName, ptrName: createPointer.ptrName, target: e.target.id(), }, }); Loading Loading @@ -629,6 +629,7 @@ ${activeSelection.includes(edgeId) ? ' in-active-selection' : ''}`, onClose={() => { this.setState({showNodeMenu: null}); }} createPointer = {this.startNewPointer} setActiveNode={setActiveNode} />) : null} Loading Loading
src/components/GraphEditor/GraphEditor.jsx +3 −2 Original line number Diff line number Diff line Loading @@ -463,7 +463,7 @@ ${activeSelection.includes(edgeId) ? ' in-active-selection' : ''}`, } }); this.cy.on('vclick', (e) => { this.cy.on('vclick', 'node', (e) => { this.reposition = {}; const {setActiveSelection, gmeClient} = this.props; const {createPointer} = this.state; Loading Loading @@ -504,7 +504,7 @@ ${activeSelection.includes(edgeId) ? ' in-active-selection' : ''}`, this.setState({ createPointer: { nodeId: createPointer.nodeId, prtName: createPointer.prtName, ptrName: createPointer.ptrName, target: e.target.id(), }, }); Loading Loading @@ -629,6 +629,7 @@ ${activeSelection.includes(edgeId) ? ' in-active-selection' : ''}`, onClose={() => { this.setState({showNodeMenu: null}); }} createPointer = {this.startNewPointer} setActiveNode={setActiveNode} />) : null} Loading