Generating a network diagram allows you to create a geo-schematic or pure schematic view of a set of network features. The resulting diagram content depends on the way the template you selected (at its generation) is configured. Starting from the same set of network features, you can generate different diagrams. For example, diagrams in which content is more or less simplified, diagrams showing the details of some very specific containers while other containers are collapsed, and so on.
You can generate a network diagram using the New command in the Diagram group on the Data tab on the Utility Network contextual tab set or by executing the Create Diagram geoprocessing tool.
The workflow below explains how to generate network diagrams from the command in the ribbon.
How to generate network diagrams
- The network topology must be enabled.
With this version, if you have an edit session open, you must save edits prior to generating a diagram. This allows the utility network and diagram edit moments to be consistent. Morever, without saving, none of the unsaved edits would be reflected in the generated diagram.
To generate network diagrams at a particular past moment, see Working with historical moments.
- Start ArcGIS Pro and open a utility network project.
- Open any map which already references the utility network layer, or create a new map and add the utility network to this map.
- Select any utility network features you are interested in. Suggested methods to obtain the selected features are as follows:
- Ensure the utility network layer in the Contents pane is selected. Click the Data tab on the Utility Network contextual tab set. Depending on the diagram template you want the new diagram to be based on, do one of the following:
- To create a network diagram based on the default template or on the template that was used to generate the last diagram, click New on the Diagram group, .
- To create a network diagram based on a particular template, click the New arrow on the Diagram group, then click the template item you want from the list of templates that opens:The list of templates is based on the templates related to utility network layer(s) currently selected in the Contents pane. Unless the database utility network owner removed them or they are specified as subnetwork diagram templates for tiers, three templates are provided out of the box—Basic, CollapseContainers and ExpandContainers templates.
- If you haven't specified a template and you click the New button to generate your first diagram, the Basic template is used by default to build the resulting diagram. The Basic template will continue to be the template used to build a new diagram unless otherwise specified. This can be done by selecting another template by clicking the New arrow and choosing one from the list.
- If a diagram template is used as a subnetwork diagram template for a utility network tier, it is not available in the New drop down list when you are consuming the utility network service. It stays available from this drop down list when working with a database connection only.
The diagram generation begins once you've clicked New or chosen a template. Depending on the selected template, the process chains any existing diagram rules and automatic layouts configured for that template. The resulting network diagram opens in a diagram map view and the Network Diagram home tab becomes available.
Next, you can use the Append To Diagram function or enable the Dynamic Diagram running mode to refine the diagram content if needed, apply layouts on all or parts of the diagram, and store the diagram if you want to persist it in the database.
The generation process may fail in the following situations:
- None of the features you selected in the network map belong to a utility network. In this situation, there is no solution; network diagrams are built from utility network features only.
- The network features you selected in the network map are dirty features. Before processing the diagram generation, you must validate the utility network topology.