reverse parsing of visualisation