find_cycles_in_sgraph
alternate cycle_basis rings with isomorphism expansion; prefer compute_aromatic_cycles for MOFs. Use compute_aromatic_cycles instead.
analyze.find_cycles_in_sgraph(sgraph, default_ring_sizes=[5, 6, 7, 8, 9])List chordless cycles in a bond graph, filtered by size and expanded by subgraph isomorphism.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| sgraph | The graph that you want to find cycles in | required | |
| default_ring_sizes | The ring sizes you want to look for | [5, 6, 7, 8, 9] |
Returns
| Name | Type | Description |
|---|---|---|
| A list of lists of nodes that are in the same ring. |