A generic communicator based on graphs