rgraph patch