Open joseberlines opened 4 years ago
I believe that cytoscapejs treats them exactly the same. See for example https://js.cytoscape.org/#eles.style
however, the styling is not strictly the same as CSS so it's probably better to use style
which is what the cytoscapejs examples do.
it would be great to comb over the docs and replace all the css
with style
. If anyone wants to tackle that and needs help building the docs feel free to drop a comment here.
cool. good to know style is the way to go
In the examples included in the repo I observe two ways of setting style:
and also:
when do you use 'css' and when do you use 'style'?