Framework to store and do basic operations on graphs