Event Sourcing on the Graph

How would I implement an eventsouring pattern in DGraph?

I know this is more a Graph issue in general but maybe someone has thought about it previously. I would like to decouple the events from the Dgraph node state in general as I find refactoring the graph is tricky and modeling isn’t always 100% perfect from day 1.

Maybe I should stream the events to Badger and have some form of ingestor via badger to create my up to date graph state. This would allow me to have a flexible, maybe even multiple graph models that are structured for query performance?

Any pushes in the right direction would be gold