molfoundry.NoEdgeConstraint#
- class molfoundry.NoEdgeConstraint(source, target, implied=False)#
Bases:
objectNo edge joins
sourceandtarget(GMLconstrainNoEdge).impliedisTruewhen the constraint only restates that the rule creates this edge – a graph cannot hold two edges between the same vertices, so the edge must not be there yet. Loading a rule adds one such constraint per created edge; the rule’s GML leaves them out.- property children: Tuple[ConditionTrue | ConditionExists | ConditionNot | ConditionAnd | ConditionOr | AdjacencyConstraint | LabelAnyConstraint | ShortestPathConstraint | NoEdgeConstraint, ...]#