Add method to convert a DmfDevice to an svg image