You have set GraphObject.fromLinkable on your new node template’s port (i.e. the object with portId set to a string), so the user can start drawing new links from that port. But you haven’t set toLinkable to true, so users cannot draw new links (or reconnect existing links) to that port.
General discussion about linking permissions is at GoJS Validation -- Northwoods Software