The smooth contour modifier clears the ambiguity in contour visibility so that edges could be chained fluently.
The author is @Sebastian Parborg (zeddb) .
Here's the before/after image of this modifier applied on mesh before generating line art.
I modified a bit so mesh manipulation is enabled by default.
