A general purpose graph library