Reputation: 7553
I'm not clear on what the "classes" property does after reading the Cytoscape documentation multiple times. Should I be able to use an external CSS file with a corresponding class defined, and assign that to a node in my Cytoscape code, for example?
I would like to define a different class for potentially each node. Can anyone shed light on how this works? Thanks!
Upvotes: 2
Views: 4247
Reputation: 12242
You set a stylesheet at initialisation, which can use class selectors etc.
Upvotes: 2