Renamed two methods to follow bean pattern of get*: graph, and element.

Change-Id: I074ef1e215554ec633968e4de2c3e4aecca6b30e