graph.getElements()

Get all the elements in the graph (i.e. omit links).