def _connect_temporarily(self, port_v, target=True):
        """Set a connection between the current connection and the given port

        :param rafcon.gui.mygaphas.items.ports.PortView port_v: The port to be connected
        :param bool target: Whether the connection origin or target should be connected
        """
        if target:
            handle = self._connection_v.to_handle()
        else:
            handle = self._connection_v.from_handle()
        port_v.add_connected_handle(handle, self._connection_v, moving=True)
        port_v.tmp_connect(handle, self._connection_v)
        self._connection_v.set_port_for_handle(port_v, handle)
        # Redraw state of port to make hover state visible
        self._redraw_port(port_v)
def _connect_temporarily ( self , port_v , target = True ) : if target : handle = self . _connection_v . to_handle ( ) else : handle = self . _connection_v . from_handle ( ) port_v . add_connected_handle ( handle , self . _connection_v , moving = True ) port_v . tmp_connect ( handle , self . _connection_v ) self . _connection_v . set_port_for_handle ( port_v , handle ) self . _redraw_port ( port_v )
Set a connection between the current connection and the given port

        :param rafcon.gui.mygaphas.items.ports.PortView port_v: The port to be connected
        :param bool target: Whether the connection origin or target should be connected