In the scenario where there is more than one link connected to a single port and you need to change the endsegmentlength per individual link.
Does setting the endsegmentlength port property affect all the links connected to that port? Or does it set a different endsegmentlength for each individual link connected to a single port on link creation.
By default, yes it does. However that property actually just provides the default value for the GoPort.GetFromEndSegmentLength and GetToEndSegmentLength methods.
But, for GoBoxPorts and for GoPorts on GoGeneralNodes and GoMultiTextNodes, the Get[From/To]EndSegmentLength methods are smarter about trying to produce different values for different links according to where the other ends are at, to reduce the likelihood of overlapping link segments.