Skip to main content

products()

The product side, as one (possibly disconnected) graph in the same atom order.

Usage

Source

products(gra: StereoReactionGraph) -> StereoMolGraph
 
products(gra: ReactionGraph) -> MolGraph

Its bonds are bonds without breaking, and its LS are the unchanged LS and the product slot of each change.

>>> g = ReactionGraph(
...     symbols=["H", "H", "H"], bonds=[(0, 1), (1, 2)], breaking=[(0, 1)],
...     forming=[(1, 2)],
... )
>>> products(g).bonds

((1, 2),)