graph library