Show diagram according to json generated.