I want to draw this shape in Inkscape:
The line coming from the side needs to be aligned to exactly the middle of the edge, coming out at a right angle.
It must also be part of the rectangle object, so that when I alter the color or width of the line, I don't have to do it separately for either object (the line and the rectangle).
What is the simplest way of drawing a line outwards from the centre of a rectangles edge, and then combining the paths, in Inkscape?