# Merge different paths into one - inkscape

I have 3 adjacent rectangle as shown belown. I have 2 simple questions based on that.

1 - In this picture, selected area has 2 paths on top of each other. how i can make them one?

2 - In same picture again, selected area has 3 different paths.They just touching each other by a node. How i can make them one single path again?

• Sorry, but this question is ambiquous. Nobody knows do you want closed paths, separate line segments or folded single paths which are technically one but go forth and back several times between the same nodes. One solution to the written question would be "draw a new shape which has separate line segments" , but maybe you want something else. Please, try to reveal something of your intentions – user287001 Jan 15 at 9:13
• for instance in first picture selected area has 2 paths and 4 nodes. 1path and 2 nodes belongs to left rectangle while other path and other 2 nodes belongs to right rectangle. i want to make it just 1 path which belongs to right and left rectangles at the same time. i dont think its that complicated. – kai Jan 15 at 9:22
• It's complicated because it's based on private thinking. Every rectangle has its own nodes and line segments. You must have open paths - a rectangle with only three sides, one is left out, because in the same place there's already a line segment. You could draw the shape as a single open path - no overlaps, only crossings. – user287001 Jan 15 at 9:45
• It's not possible, vectors don't work like that. You can't join a node from one path to another node or segment in the middle of a path. – Billy Kerr Jan 15 at 10:39
• @RudyVelthuis - I don't think so. In any case it's not really clear to me what the OP wants or is actually trying to achieve in the long run, but from the diagrams it looks like they are trying to join an end node from one path to the middle of another path. Perhaps I'm wrong . . . ? – Billy Kerr Jan 15 at 12:08