manual graph merge