// The elements included in this layout
ctx.eles: CollectionThe elements included in this layout. For eles.layout(), this is the supplied collection; for cy.layout(), it is the whole graph. The collection is created on first access and cached for this run.
Returns
Collectionthe collection of elements being laid out
Example
// Inside a custom layout, ctx is supplied by the library.cy.layout({ impl: { run(ctx) { console.log(ctx.eles.map(ele => ele.id())); // ["a","b","c","ab","bc"]} } }).run();