graph finalizing