Issue #41. Fixed priority data not being used to create edges in graph.