priorityGraph function added: work in progress...