ArcGIS API for JavaScript: Demo/GeometricNetworkStream (MapServer)
Built using the ArcGIS API for JavaScript