Entanglement flow in multipartite systems