add a new graph