renamed .tree to .graph