Add graph library