forked from cytoscape/cytoscape.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Collection style
maxkfranz edited this page May 8, 2012
·
2 revisions
Get the computed visual style of the element.
Gets the computed style for the element
Gets the computed value for the specified property property : The visual style property to get
This function returns the computed style of the element. The function can not be used to change the visual style of an element. To override the visual style of a particular element, see ele.bypass().
var style = cy.nodes("#n1").style();
console.log("n1 has the colour `%s`", style.fillColor);