ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Data.NetworkDiagrams Namespace / DiagramAggregation Class
Members Example

In This Topic
    DiagramAggregation Class
    In This Topic
    Represents a diagram aggregation. A diagram aggregation is when multiple utility network rows are collapsed into a single network diagram element.
    Syntax
    public sealed class DiagramAggregation 
    Public NotInheritable Class DiagramAggregation 
    Example
    Get Diagram Aggregations
    public void GetDiagramAggregation(NetworkDiagram networkDiagram)
    {
      IReadOnlyList<DiagramAggregation> aggregations = networkDiagram.GetAggregations();
      foreach (var aggregation in aggregations)
      {
        var type = aggregation.AggregationType;
      }
    }
    Inheritance Hierarchy

    System.Object
       ArcGIS.Core.Data.NetworkDiagrams.DiagramAggregation

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also