treeandgraph subdir constructed