(self, **kwargs)
On this initializer the connection has to check whether the
        connection is being made forward or backwards.
On this initializer the connection has to check whether the
        connection is being made forward or backwards.
On this initializer the connection has to check whether the connection is being made forward or backwards .
def __init__(self, **kwargs):
        """ On this initializer the connection has to check whether the
        connection is being made forward or backwards. """
        super().__init__(**kwargs)
        if self.start:
            self.forward = True
            # The value is repeated for correctness sake
            self.bez_start, self.bez_end = [self.start.center] * 2
            with self.canvas.before:
                Color(*self.color)
                self.lin = Line(bezier=self.bez_start * 4, width=1.5)
            self._bind_pin(self.start)
        else:
            self.forward = False
            self.bez_start, self.bez_end = [self.end.center] * 2
            with self.canvas.before:
                Color(*self.color)
                self.lin = Line(bezier=self.bez_end * 4, width=1.5)
            self._bind_pin(self.end)
        self.warned = False
        self.info = Factory.Info(pos=self.bez_start)
        Window.add_widget(self.info)
def __init__ ( self , * * kwargs ) : super ( ) . __init__ ( * * kwargs ) if self . start : self . forward = True # The value is repeated for correctness sake self . bez_start , self . bez_end = [ self . start . center ] * 2 with self . canvas . before : Color ( * self . color ) self . lin = Line ( bezier = self . bez_start * 4 , width = 1.5 ) self . _bind_pin ( self . start ) else : self . forward = False self . bez_start , self . bez_end = [ self . end . center ] * 2 with self . canvas . before : Color ( * self . color ) self . lin = Line ( bezier = self . bez_end * 4 , width = 1.5 ) self . _bind_pin ( self . end ) self . warned = False self . info = Factory . Info ( pos = self . bez_start ) Window . add_widget ( self . info )