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
vertexLabelssatisfiescondition.vertexLabelsofNoneconstrains every vertex. Give the condition either flat, as the fields of a singleIncidenceCount(op,countand its filters), or as a tree incondition, not both.- Parameters:
- property condition: IncidenceCount | AllOf | AnyOf | Not#