'Create a set of bindings for nodes.'

def createDataLinkBindings(self):

    def select(_event, link=self.link):
        'Select    item    on    mouse    entry.'
        self.selectItem(link)
    def highlight(_event, link=self.link):
        'Highlight    item    on    mouse    entry.'
        self.selectItem(link)
        self.canvas.itemconfig(link, fill='green')
    def unhighlight(_event, link=self.link):
        'Unhighlight    item    on    mouse    exit.'
        self.canvas.itemconfig(link, fill='blue')
    self.canvas.tag_bind(self.link, '<Enter>', highlight)
    self.canvas.tag_bind(self.link, '<Leave>', unhighlight)
    self.canvas.tag_bind(self.link, '<ButtonPress-1>', select)
    self.canvas.tag_bind(self.link, '<Button-3>', self.do_linkPopup)
