2016-08-23 157 views
-1

我想有可能找到特定节点的叶子。 我的代码的第一行有效,第二行返回空对象{}Cytoscape:找到特定节点的叶子

我在做什么错了?谢谢!

console.log(cy.nodes().leaves().jsons()); console.log(cy.nodes("[id='1.1']").leaves().jsons());

回答