Simple graph library