graph with new library