Added basic getters for the Graph object.