addew new code tree in graph