Open paul-shannon opened 6 years ago
@aishahmohamed98
run this in your javascript console when your graph is already displayed.
cy.nodes().map(function(node){node.data({degree: node.degree()})});
then make sure it worked, by selecting one node (a well-connected node, that is, one with high degree):
cy.nodes(":selected").data("degree");
just for clarification, you want me to write code thatll change thickness of node based on degrees?
@aishahmohamed98
run this in your javascript console when your graph is already displayed.
then make sure it worked, by selecting one node (a well-connected node, that is, one with high degree):