support commiting multiple graphs at the same time