isOutput field removed from port (it is not used anymore bacuase you specify the position of the port by relative x/y coordinates)