## Details

If an empty collection or no collection is specified, then the graph is centred on all nodes and edges in the graph.

## Examples

Centre the graph on node `n0`:
```js
var n0 = cy.node("n0");
cy.center(n0);
```