// The live position column (x,y interleaved by slot) — read it, write through setPositions
ctx.positions(): Float32ArrayThe live position column (x,y interleaved by slot) — read it, write through setPositions.
Returns
Float32Arraythe store's own column, not a copy: it changes underneath a held reference as positions are written, and writing into it directly bypasses the dirty tracking the renderer depends on
Example
cy.layout({ impl: { run(ctx) { const b = ctx.nodeSlots()[1]; console.log(ctx.positions()[b * 2]); // 50} } }).run();