molfoundry.IncidenceConstraint#

class molfoundry.IncidenceConstraint(vertexLabels=None, op=None, count=None, nodeLabels=None, edgeLabels=None, edgeWeights=None, *, condition=None)#

Every vertex with a label in vertexLabels satisfies condition.

vertexLabels of None constrains every vertex. Give the condition either flat, as the fields of a single IncidenceCount (op, count and its filters), or as a tree in condition, not both.

Parameters:
property vertexLabels: Tuple[str, ...] | None#
property condition: IncidenceCount | AllOf | AnyOf | Not#