Improved port positioning, also when nodes are round
Color ports according to the connected route