I started with a network of polylines. In QGIS I used dissolve to 'merge' all lines according to an attribute value. This did exactly that, but included non-connecting lines which I don't want. I then tried to use Multipart to Singlepart hoping this would split the newly dissolved network at the non-connecting points. However this seems to split back to the original network prior to using dissolve.
Am I following this process incorrectly or is there a better solution to what I am trying to do?