Updated graph print to include id.