Trees, graph and network in data analytics