Added data structures for mutable graph