completed automated graphs generation module