I wrote a hypergraph causality framework
deepcausality.com