// Find a member by id
eles.getElementById(id: string): Collection<NodeData, EdgeData, Data>Find a member by id. This is a linear scan of the collection; use cy.$id( id) for the O(1) whole-graph index.
| Name | Description |
|---|---|
id: string | the element id |
Returns
Collection<NodeData, EdgeData, Data>a collection of one element, or an empty collection