Stacked graph revert merge