// Create an empty collection bound to the same core
eles.collection(): Collection<NodeData, EdgeData, Data>Create an empty collection bound to the same core. Takes no arguments. Use union() to build a set from existing elements, or filter() to select members of this collection.
Returns
Collection<NodeData, EdgeData, Data>a fresh empty collection bound to this core — the seed for building a set up by union
Throws
if called with any argument — use cy.add() to insert definitions or set operations to build collections