molfoundry.Membership#

class molfoundry.Membership(*values)#

Bases: Enum

How a rule vertex or edge behaves across the rewrite.

Context = 'context'#

Present and unchanged on both sides (pure interface, K).

Changed = 'changed'#

Present on both sides, but its label or stereo differs.

Created = 'created'#

Present only on the right side – the rule adds it.

Deleted = 'deleted'#

Present only on the left side – the rule removes it.