Fix the sample graph alignment issue.