graph library add