// the core being laid out
ctx.cy: Corethe core being laid out
Returns
CoreExample
cy.layout({ impl: { run(ctx) { console.log(ctx.cy === cy); // true} } }).run();ctx.cy — Extensions > Layout context > Scope. Cytoscape.js signatures, parameters and return contract.
ctx.cy — Extensions › Layout context › Scope
Preview · Extensions › Layout context › Scope
Read in the complete API reference · All API members
// the core being laid out
ctx.cy: Corethe core being laid out
CoreExample
cy.layout({ impl: { run(ctx) { console.log(ctx.cy === cy); // true} } }).run();