Skip to content

ele.renderedOuterHeight()

eles.renderedOuterHeight — Collection > Position and dimensions. Cytoscape.js signatures, parameters and return contract.

eles.renderedOuterHeight — Collection › Position and dimensions

Preview · Collection › Position and dimensions

Read in the complete API reference · All API members

// outerHeight() scaled by the current zoom
ele.renderedOuterHeight(): number | undefined

outerHeight() scaled by the current zoom.

Returns number | undefined

the rendered outer height, or undefined when empty or removed

Example

cy.zoom(2);
console.log(cy.getElementById('a').renderedOuterHeight()); // 60

Example graph and handle setup