findPort method
Find a GraphObject with a given GraphObject#portId. If no such GraphObject is found, search for one with the empty string as its port identifier. Finally, when failing to find a port with either the given name or the empty string, this method returns this whole node itself. @param {string} pid @return {GraphObject}
Implementation
_i3.GraphObject findPort(_i2.String pid) => _i4.callMethod(
this,
'findPort',
[pid],
);