Alter Diagram Template (Network Diagram)

ArcGIS Pro 3.4 | | Help archive

Summary

Alters the properties of a diagram template such as its name, how it handles vertices along input network edges, whether the related diagrams can be stored or extended, the margin between containers and their contents in these diagrams, the removal of its rule and layout, and the reset of the diagram layer definition to the default.

Note:

Changing the size of the container margin or removing the diagram rule and layout definitions causes the Consistency field value in the database to switch to inconsistent for any existing diagram based on the input diagram template. All of these diagrams remain inconsistent and open with a consistency warning icon Diagram to update until they are updated.

Caution:

This tool is a configuration and administration tool.

Usage

  • This tool is not supported when working with a utility network or trace network service. You must use either a utility network or trace network in a file or mobile geodatabase, or a database connection to a utility network or trace network in an enterprise geodatabase. When working with an enterprise geodatabase, the following are requirements:

  • The network data element specified for the Input Network parameter must be from either a utility network or trace network in a file or mobile geodatabase, or a database connection to a utility network or trace network in an enterprise geodatabase.

  • This tool supports the following specific diagram template property alterations:

    • Changing the name of the template
    • Setting a template as the default template
    • Removing the rule and layout definitions
    • Resetting the diagram layer definition to the default
    • Specifying the way the template works with vertices along input network edges
    • Defining the margin size between containers and their contents
    • Disabling the storage capability for those diagrams
    • Enabling the extend diagram capabilities

  • Initializing vertices along diagram edges at diagram generation and managing them at diagram display is time consuming. To avoid impacting performance, check the Keep initial vertices on edges parameter only when needed. For example, if the template is configured to apply an automatic diagram layout at generation, check this parameter for theRelative Mainline and Partial Overlapping Edges diagram layouts. The other diagram layout types don't use vertices on diagram edges during their operation; they use diagram junction positions.

  • Starting with ArcGIS Pro 2.6, this tool systematically initializes a default diagram layer definition for the input diagram template if it doesn't already exist.

  • When configuring a model to set up new rule and layout definitions for a diagram template, run the Alter Diagram Template tool with the Remove the diagram template rule and layout definitions parameter checked at the beginning of the model. This will cause the model to reinitialize the template properties to their default settings.

Parameters

LabelExplanationData Type
Input Network

The utility network or trace network of the diagram template to alter.

Utility Network; Trace Network
Input Diagram Template

The name of the diagram template to alter.

String
New Template Name
(Optional)

The new name of the template.

String
Default template
(Optional)

Specifies the default status of the input template.

  • Checked—The input diagram template will be the default template.
  • Unchecked—The input diagram template will not be the default template. This is the default.

The default template is used when generating a diagram if a template is not specified. It is also the template used when using New Diagram on the Data tab on the utility network or trace network tab set if another template is not specified.

Boolean
Remove the diagram template rule and layout definitions
(Optional)

Specifies whether the template rule and layout definitions will be removed.

  • Checked—The rule and layout definitions related to the input diagram template will be removed.
  • Unchecked—The rule and layout definitions related to the input diagram template will not be removed. This is the default.

Boolean
Keep initial vertices on edges
(Optional)

Specifies how vertices along the GIS edges will be managed in the diagrams based on the template.

  • Checked—All vertices that display along GIS edges will be preserved on the associated edges in each network diagram based on the template.
  • Unchecked—Diagram edges will be drawn as straight lines between their connected junctions. This is the default.
Note:

For performance quality, check this parameter only when needed. If the template is configured to run an automatic layout at diagram generation, for example, checking this option makes sense for the Relative Mainline and Partial Overlapping Edges diagram layouts. The other diagram layouts don't use diagram edges geometry.

Boolean
Container Margin
(Optional)

The minimum distance between the center of any junctions inside the container and the container border.

Linear Unit
Enable diagram storage
(Optional)

Specifies whether the diagrams based on the template can be stored.

  • Checked—The diagrams based on the template can be stored. This is the default.
  • Unchecked—The diagrams based on the template cannot be stored.
Boolean
Enable to extend diagram
(Optional)

Specifies whether the diagrams based on the template can be extended.

  • Checked—The diagrams based on the template can be extended by connectivity, traversability, containment, or attachment.
  • Unchecked—The diagrams based on the template cannot be extended. This is the default.
Boolean
Description
(Optional)

The description of the template.

String
Reset the diagram template layer definition to default
(Optional)

Specifies whether the diagram template layer definition will be reset to the default.

  • Checked—The diagram layer definition related to the input diagram template will be reset to the default (removed).
  • Unchecked—The diagram layer definition related to the input diagram template will not be removed. This is the default.

Boolean

Derived Output

LabelExplanationData Type
Output Network

The updated utility network or trace network.

Utility Network; Trace Network
Output Diagram Template

The name of the diagram template.

String

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: No
  • Standard: Yes
  • Advanced: Yes

Related topics