Topological relationships-based flow direction modeling: mesh-independent river networks representation