Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Perhaps I misunderstand. But you cannot change a line that has already been drawn to some other stroke type. You would have redraw it from scratch or clear out the old line by filling over it and then draw the new stroke type in the same positions.
Your image is a raster image. So you cannot change the kind of stroke from simple to dashed. That is only possible if you have a vector image such as SVG. If you want to make the yellow lines in the image wider or narrower, you can use -morphology dilate or erode. see http://www.imagemagick.org/Usage/morphology/#basic
The only way to make dashed lines is to composite your alpha channel with an image of a checkerboard pattern.
ImageMagick can do some things with vectors, like rasterising them or (to a limited degree) vectorising a raster, but it isn't a general-purpose vector editor.
If you can open your vector file in Inkscape, you can easily do anything you want with the lines: change width, colour, style, dot-dash-dot, whatever you want. You can convert it to SVG and then use text tools to manipulate the image: change the lines, remove lines, add new lnes, whatever.