add Getter to IGraph