A space-separated list of class names to add to the elements.
Replace the current list of classes on the elements with the specified list.
A space-separated list or array of class names that replaces the current class list. http://js.cytoscape.org/#eles.classes Note: can be used to clear all classes (empty string or array).
Set a particular style property value.
The name of the visual style property to set.
The value to which the property is set.
Get a particular style property value.
The name of the visual style property to get.
Set several particular style property values.
An object of style property name-value pairs to set.
Get a name-value pair object containing visual style properties and their values for the element.
Add classes to the elements, and then remove the classes after a specified duration.
A space-separated list of class names to flash on the elements.
Optional
duration: number[optional] The duration in milliseconds that the classes should be added on the elements. After the duration, the classes are removed. http://js.cytoscape.org/#eles.flashClass
Remove classes from elements.
A space-separated list of class names to remove from the elements. http://js.cytoscape.org/#eles.removeClass
Set a particular style property value.
The name of the visual style property to set.
The value to which the property is set.
Get a particular style property value.
The name of the visual style property to get.
Set several particular style property values.
An object of style property name-value pairs to set.
Get a name-value pair object containing visual style properties and their values for the element.
Toggle whether the elements have the specified classes.
A space-separated list of class names to toggle on the elements.
Optional
toggle: boolean[optional] Instead of automatically toggling, adds the classes on truthy values or removes them on falsey values. http://js.cytoscape.org/#eles.toggleClass
Add classes to elements. http://js.cytoscape.org/#eles.addClass