Patches to graphs