## rings()


The rings of a graph: a minimum cycle basis (SSSR), sorted (P85).


Usage

``` python
rings(g)
```


Each ring is in cycle order, from its lowest atom toward the lower of that atom's two ring neighbours. A reaction graph's rings are its condensed graph's, so a cyclic TS has its ring. Rings are fluxional in v1 (P88): no LS holds a ring's conformer.

``` python
>>> from protomol import from_smiles
>>> rings(from_smiles("C1CCCCC1"))
```

\[(0, 1, 2, 3, 4, 5)\]

``` python
>>> rings(from_smiles("CC"))
```

\[\]
