displaying tree diagram based on node model