The Structural Dynamics of Flow