Skip to content

ele.outerHeight()

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

eles.outerHeight — Collection › Position and dimensions

Preview · Collection › Position and dimensions

Read in the complete API reference · All API members

// The full drawn height including the border
ele.outerHeight(): number | undefined

The full drawn height including the border.

Returns number | undefined

the outer height, or undefined when empty or removed

Example

console.log(eles.outerHeight()); // 30

Example graph and handle setup