graph.getPredecessors(element [, opt])
Return an array of all the predecessors of
element. By default, Depth-first search algorithm is used (important for the order of returned elements).
opt.breadthFirst is set to
true, use Breadth-first search algorithm instead.
opt.deep is set to
true, take into account embedded elements too (see dfs() for details).