godot/mapping.py
def _viewport_default(self):
        """ Trait initialiser """

        vp = Viewport(component=self.diagram_canvas, enable_zoom=True)
        vp.view_position = [0,0]
        vp.tools.append(ViewportPanTool(vp))
        return vp
def _viewport_default(self):
        """ Trait initialiser """

        vp = Viewport(component=self.diagram_canvas, enable_zoom=True)
        vp.view_position = [0,0]
        vp.tools.append(ViewportPanTool(vp))
        return vp
def _viewport_default ( self ) : vp = Viewport ( component = self . diagram_canvas , enable_zoom = True ) vp . view_position = [ 0 , 0 ] vp . tools . append ( ViewportPanTool ( vp ) ) return vp
Trait initialiser
Trait initialiser