This handler is called whenever an addition violates the constraints.
This handler is called whenever an addition violates the constraints. The provided default implementation is empty.
the nodes passed to preAdd
.
the edges passed to preAdd
.
must be true if the handler has been overridden but it doesn't throw an exception.
This handler is called whenever a subtraction violates the constraints.
This handler is called whenever a subtraction violates the constraints. The provided default implementation is empty.
the nodes passed to preSubtract
.
the edges passed to preSubtract
.
must be true if the handler has been overridden but it doesn't throw an exception.
(constraintHandlerMethods: StringAdd).self
(constraintHandlerMethods: StringFormat).self
(constraintHandlerMethods: ArrowAssoc[ConstraintHandlerMethods[N, E]]).x
(Since version 2.10.0) Use leftOfArrow
instead
(constraintHandlerMethods: Ensuring[ConstraintHandlerMethods[N, E]]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
This template contains handler methods that are called by constrained graphs whenever a constraint has been violated.
These methods must be overridden to get the handlers become active.