A graph-based method for fitting planar B-spline curves with intersections. Issue 1 (10th June 2015)