How to set or change the visual representation of a port?
Change the visual representation of a port
This can be done by using the port''s VisualType property value.
The port can be of either a CirclePort, XPort, Square port, Rhomb port or a custom type port.