Tree graph layout
merging