title: Unify stroke-paths while respecting overlay in inkscape
body: <p>I have two lines/curves that overlap and would like to create a unified area of the lines using inkscape.
  For example: In the picture I'd like to make the visible black lines to a single unified area (substracting the filled areas).
  <a href="https://i.stack.imgur.com/M3KrT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/M3KrT.png" alt="Example" /></a>,</p>
  <p>I use <code>stroke to path</code> to make each black line a path and the use <code>Union</code>. However this does not substract the filled area. I am looking for a way that automatically respects the order of the lines and substracts the areas were the areas overlap (i.e. remove the indicated yellow area of the last figure). As I have multiple overlapping lines I like to respect the their order (one line on top of the other).</p>
  <p><a href="https://i.stack.imgur.com/mN1ZL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mN1ZL.png" alt="Unified paths" /></a><a href="https://i.stack.imgur.com/oWzSV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oWzSV.png" alt="Unified path 2" /></a></p>