Modify link order in GoBoxPort

Hi Walter,

i am using GoBoxPort to calculate GoBoxPortLinkInfo.LinkPoint. If i draw two nodes and e.g. three links between them (all starting at Node1 going to Node2), the links are crossing each other.

So i need to replace the comparer of GoBoxPort, but it is not public and even not protected. Do i really have to add and use another comparer and the default comparer stays at PortObject? Why didnt you provide a protected method to create and return an own comparer?

Regards,
Jörn

You can override GoBoxPort.SortLinkInfos to sort the array any way you want.

Ok, thanks for your answer.
I will write and use a modified comparer. Obviously i have to live with the fact the default comparer is created and stays unused in the background.