Added edge abstraction to graphs.