add graph/reorderTree, move flow