molfoundry.VertexMapEntry#
- class molfoundry.VertexMapEntry(source, sourceInstance, target, targetInstance, ruleNodeId)[source]#
Bases:
objectOne atom of an atom-atom map.
sourceis the educt atom andtargetthe product atom. AsourceofNonemeans the rule created the atom, atargetofNonethat it destroyed it.sourceInstanceandtargetInstancesay which copy of its species the atom belongs to, 1-based, since a hyperedge may consume or produce several copies of the same molecule.ruleNodeIdis the rule vertex the atom plays, orNonefor an atom the rule does not name.- Parameters:
- source#
- sourceInstance#
- target#
- targetInstance#
- ruleNodeId#