StereoMolGraph
A molecular graph with local stereodescriptors (LS).
Usage
StereoMolGraph()atom_stereo holds the atom LS (sorted by centre) and bond_stereo the bond LS (sorted by end pair). Each LS lists exactly the neighbours of its atoms (P30).
>>> g = StereoMolGraph(
... symbols=["C", "F", "Cl", "Br", "H"],
... bonds=[(0, 1), (0, 2), (0, 3), (0, 4)],
... atom_stereo=[Tetrahedral(atoms=(0, 1, 2, 3, 4), parity=1)],
... )
>>> g.atom_stereo[0].atoms(0, 1, 2, 3, 4)