deltarepo: Implemented graph_from_links method of Graph class.