Trees and Graphs Completion