modified plugin interfaces getrequirements to get an arraylist of graphelements instead of ids