translation of graphs rules