Completed Graph Code