graph.getLinks()

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