Ports on a GoGeneralNode

I am not able to connect the right port of a gogeneralnode to the
right port of another gogeneralnode.
and same problem with the left port.
Is there any way to solve this problem
help me. I want to hav multiple ports on an icon and that should have no
difference between the left and right port.
if anyone want complete code mail me at chintu_raja@hotmail.com

Take a look at the documentation for the GoGeneralNode.CreatePort method. You’ll see that it assigns the GoPort.IsValidFrom and .IsValidTo properties depending on which side the port is on, assuming that the usage is directional.

I suggest that you either override CreatePort to make sure both port properties are set to true, or that you explicitly set those properties at some later time.