Description
The Create Diagram Layer Definition tool requires the active map to reference an input network layer.
Solution
Add this network layer to the active map.
Alternatively, open the map referencing the network layer specified as input and click this map tab so it becomes the active map view.