new graph script
update the doc for graphs