updated graph generation code
adding visualisation editted json