add previous processes to json-processes graph