Fix the graph should have transparent background, update the README.md with program logic