ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.Data.NetworkDiagrams Namespace / RelativeMainlineDiagramLayoutParameters Class / CompressAlongDirection Property

In This Topic
    CompressAlongDirection Property
    In This Topic
    Indicates whether or not the compression along the main line direction is active.
    Syntax
    public bool CompressAlongDirection {get; set;}
    Public Property CompressAlongDirection As Boolean
    Remarks
    • If true, the layout algorithm will reduce the distances between adjacent groups of neighbor junctions along the direction while trying to maintain relative positioning between these groups. Neighbor junctions are junctions that are geographically close to each other without being directly connected.
    • If false, no compression occurs. This is the default.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also