We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5705b80 commit f64df14Copy full SHA for f64df14
src/interact.ts
@@ -333,7 +333,8 @@ export const expandNode = function(el, isExpand) {
333
export const refresh = function(data) {
334
// add parent property to every node
335
if (data) {
336
- this.nodeData = data
+ this.nodeData = data.nodeData
337
+ this.linkData = data.linkData || {}
338
}
339
this.addParentLink(this.nodeData)
340
// create dom element for every node
0 commit comments