cytoscape/cytoscape.js-arbor

node.isFullAutoParent is not a function

Closed this issue · 3 comments

When using the latest version of cytoscape.js (2.7.10) and the latest version of cytoscape.js-arbor, every time I try to visualize a graph, I get an error:

TypeError: node.isFullAutoParent is not a function. (in 'node.isFullAutoParent()', 'node.isFullAutoParent' is undefined)

function: addNode - cytoscape-arbor.js:266
function: (anonymous function) - cytoscape-arbor.js:305
function: each - cityscape.min.js:27:14706
function: run - cytoscape-arbor.js:304
function: layout - cityscape.min.js:30:8589
function: (anonymous function) - main.js:2177
function: dispatch - jquery.min.js:3:7525
function: handle - jquery.min.js:3:5606

I can look at this around 28 October, as I'm away. Until then you can either hot-patch your file or make a PR. I suspect you can just replace .isFullAutoParent() with .isParent().

You might also look into CoSE-Bilkent or Cola. They're much better layouts than Arbor, anyway.

Same error here. The suggested fix solves it. Thanks.

Published as 1.2.2