|
this.appView = ReactDOM.render(TheGraph.App({ |
|
graph: this.graph, |
|
width: this.width, |
|
minZoom: this.minZoom, |
|
maxZoom: this.maxZoom, |
|
height: this.height, |
|
library: this.library, |
|
menus: this.menus, |
|
editable: this.editable, |
|
onEdgeSelection: this.onEdgeSelection.bind(this), |
|
onNodeSelection: this.onNodeSelection.bind(this), |
|
onPanScale: this.onPanScale.bind(this), |
|
getMenuDef: this.getMenuDef.bind(this), |
|
displaySelectionGroup: this.displaySelectionGroup, |
|
forceSelection: this.forceSelection, |
|
offsetY: this.offsetY, |
|
offsetX: this.offsetX, |
|
readonly: this.readonly, |
|
}), this.$.svgcontainer); |
|
this.graphView = this.appView.refs.graph; |
This gets an Element (basically HTMLDivElement), how did you treat it as a graphView object?
noflo-ui/elements/the-graph.js
Lines 319 to 338 in 22d26ec
This gets an Element (basically HTMLDivElement), how did you treat it as a graphView object?