bugfix for long-standing path-drawing problem (dijkstra not updating parent node)
improved line-following method for -border-to-vertices