Graph algorithms library