Provide 2 running modes for commands that cannot be applied
When a rule is applied to a graph, some commands may fail: add_edge
, del_edge
or feature updating.
Two running modes should be possible:
-
robust
mode: when a command fails to apply, the command is silently ignored and the rewriting goes on -
debug
mode: when a command fails to apply, a exception is raised with information about the rules when the problem occurs