def boundingBox (self):
        if not self.settings.canvasBorder:
            return
        if self.settings.canvasBorderStyle == 'square':
            bbox = Rectangle (x =  self.canvas.x,
                              y = self.canvas.y,
                              width= self.canvas.width, 
                              height = self.canvas.height)
        elif self.settings.canvasBorderStyle == 'L':
            bbox = Path ()
            bbox.move (self.canvas.x, self.canvas.y + self.canvas.height)
            bbox.line (self.canvas.x, self.canvas.y)
            bbox.line (self.canvas.x + self.canvas.width, self.canvas.y)
        bbox.style.strokeColor = self.settings.canvasBorderColor
        bbox.style.strokeWidth = self.settings.canvasBorderWidth
        bbox.style.fill = 'none'
        self.dataGroup.draw (bbox)
dataset/ETHPy150Open dotskapes/dotSkapes/modules/savage/graph/base.py/UnifiedGraph.boundingBox/original