minor change to print-graph