Get the entire data object or a particular data field.
Optional
name: stringThe name of the field to get. Get the entire data object
Set a particular data field.
The name of the field to set.
The value to set for the field.
Update multiple data fields at once via an object.
The object containing name-value pairs to update data fields.
Get the entire data object or a particular data field.
Optional
name: stringThe name of the field to get.
Set a particular data field.
The name of the field to set.
The value to set for the field.
Update multiple data fields at once via an object.
The object containing name-value pairs to update data fields.
Remove developer-defined data associated with the elements. https://js.cytoscape.org/#cy.removeData
Optional
names: stringA space-separated list of fields to delete.
Remove developer-defined data associated with the elements. https://js.cytoscape.org/#cy.removeData
Optional
names: stringA space-separated list of fields to delete.
https://js.cytoscape.org/#core/data