Style of Patterns
I would prefer functional definitions of patterns rather than name-based ones.
A;
B;
rel A.b -> B;
something like:
node.excludeRelationsBetween((sourceNode, targetNode, relationName) -> true);
it would be extremely simple to also do all the regex stuff, but you can do much more.
My motivation is to distinguish e.g., between relations within a subtree and "external" relations.