Add Collapse Container By Attribute Rule (Network Diagram Tools)
Summary
Adds a diagram rule to the rule sequence specified on a diagram template to automatically collapse all contents related to containers during diagram buildings. The containers with contents to be collapsed are identified using an SQL query based on their attributes.
Learn more about collapsing containers in network diagrams
Caution:
This tool is a configuration and administration tool.
Note:
This tool impacts the consistency of any existing diagrams based on the input diagram template. All of the existing diagrams become inconsistent and open with a consistency warning icon
until they are updated.
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 Input Network parameter value must be from a database connection established as the database utility network owner or database trace network owner.
The connected ArcGIS Enterprise portal account must be the portal utility network owner or portal trace network owner.
This tool must be connected to the default version, which is expected to be public and not protected.
The Collapse Container rule is used to simplify diagrams by collapsing all contents related to containers that may exist in diagrams.
You can use this tool to configure the Collapse Container rule to run by attributes. This means that you can configure the collapse of diagram features of a particular container class or object table by filtering the container elements to collapse based on their attributes.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Network |
The utility network or trace network containing the diagram template that will be modified. |
Utility Network; Trace Network |
|
Input Diagram Template |
The name of the diagram template that will be modified. |
String |
|
Active |
Specifies whether the rule will be enabled when generating and updating diagrams based on the specified template.
|
Boolean |
|
Container Source |
The container source class or object table that references the containers with the contents to be collapsed. |
Table; Feature Class |
|
Expression (Optional) |
An SQL expression that will be used to select the subset of containers in this source class or object table with the contents to be collapsed in the generated diagrams. |
SQL Expression |
|
Description (Optional) |
The description of the rule. |
String |
|
Aggregate reconnected edges (Optional) |
Specifies whether edges that are reconnected to the collapsed junctions will be aggregated.
|
Boolean |
Derived output
| Label | Explanation | Data 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