cytoscape.js - Cytoscape: finding the leaves of a specific node -


i suppose possible find leaves of particular node. first line of code works, second returns empty object {}

what doing wrong? thanks!

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

selectors can't have metacharacters, .. need escape them. refer http://js.cytoscape.org/#selectors/notes-amp-caveats


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -