The CML path plotting function could easily be used for SML data if we calculate the second site coordinates for SMLs on the fly based on a assumed length. Note that for SMLs only one site is defined and the direction of the SML path to the satellite is then defined.
For a simple first implementation we could assume a fixed melting layer height and use this for calculating the "effective" length which we then use to calculate the coordinates of the second end of the line. We could e.g. also use dashed lines for SMLs to distinguish them from CML paths.
Updated: Even better than dashed lines for SMLs would be to add a marker to the SML line at the end which is on the ground.