The graph of a Restricted Boltzmann Machine