Hi Erdem. I have done this ...
Published by Tim Acland, Anglian Water 1977-2017
Hi Erdem. I have done this using two methods depending on the system and data availability. The answers about using a DEM are correct and in the UK we now have a recent DEM of high accuracy and at 5m postings. However more historically digitising linear water features to encode flow direction has been carried out by setting up a rule for this feature type in the system. The rule stated that digitisation was always in the upstream direction and end node codes used to manage the connectivity.