Prepare graph ingredient