Generic, shared graph implementation for Agora