molfoundry.VertexMap#
- class molfoundry.VertexMap[source]#
Bases:
TSObjectAn atom-atom map of a hyperedge, as a sequence of
VertexMapEntry.- reactionSMILES(explicit_hydrogens=False)[source]#
A reaction SMILES
educts>>productsbuilt from this atom-atom map.Every atom the map pairs carries a shared atom-map number linking its educt and product occurrence (
[C:1]); atoms the reaction creates, destroys, or otherwise leaves unpaired carry none, so a partial map renders too. Setexplicit_hydrogensto write hydrogens as their own atoms rather than folding them into a neighbor’s bracket.