the library for the graphs generation