ArcGIS Pro 2.9 API Reference Guide
CompressionRatio Property

ArcGIS.Core.Data.UtilityNetwork.NetworkDiagrams Namespace > RelativeMainlineDiagramLayoutParameters Class : CompressionRatio Property
Compression ratio used to compress the junction along the axis of the main line.
Syntax
public double CompressionRatio {get; set;}
Public Property CompressionRatio As Double
Remarks
The compression is only used when the compression along the main line direction is activated. It is a number between 0 and 100 that is applied to the length of any edge after subtracting the minimal distance of its length. When it is 100, the distance between each detected junction group is equal to the minimal distance. The default is 0.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

RelativeMainlineDiagramLayoutParameters Class
RelativeMainlineDiagramLayoutParameters Members