Skip to content
maxkfranz edited this page May 1, 2012 · 10 revisions

Collection data & group

Read and write client-defined data associated with the elements.

Deletes specified client-defined data associated with the elements.

Gets the ID of the element; a convenient shortcut to ele.data("id").

Read or write per-element data used to store things like extension state.

Remove per-element data used to store things like extension state.

Get the element as a plain JavaScript object.

Get the group string for the element.

Get whether the element is a node.

Get whether the element is an edge.

Clone this wiki locally