# How can get initial and final node for edge

I have a network in EPANET, I Run the network . I need to Identify the initial and final nodes for each edge , in network.

How to detect the primary and final nodes for each edge after the hydraulic analysis of the network?