Saving links n ports

can anybody tell me how to save links in a diagram having nodes of gogenralnode type having multiple ports with no diff between left and right ports. somebody help me

here is the code i am using to craete these ports
if anyone want complete code mail me at chintu_raja@hotmail.com
protected override GoGeneralNodePort CreatePort(bool input) {

GoGeneralNodePort p = new GoGeneralNodePort();

p.LeftSide = input;
p.IsValidFrom = !input; p.IsValidTo = input; return p; }

See http://www.nwoods.com/forum/forum_posts.asp?TID=1802