GoPort.IsValidFrom and GoPort.IsValidTo are true, by default, thus allowing users to draw links from or to these nodes. You may want to set those properties to false if you want prevent users from drawing links with a mouse-down and drag from the port, or to create a port with a different size or appearance.
Example
If you override this method, you may want the definition to do
some of the things that the standard definition does: