def _createNode(self, canvas, node, y): """ Create Data node to be painted in the graph. """ node.selected = False node.box = RoundedTextBox(canvas, node, y) return node.box
def __init__(self, canvas, text, x, y, bgColor, textColor='black'): RoundedTextBox.__init__(self, canvas, text, x, y, bgColor, textColor)