Problem statement:
C cannot happen without ( A & B happening together) or D or E happening.
C is dependent on [ A and B] or on C or on D.
There are a lot of such relationship so i cannot use application level logic.
Let's name the edge "depends", so...