'Remove all links for node.'

def __remove_node_links(self, node):

    (links_in, links_out) = ([], [])
    for link in self.__links:
        if (link.source_node is node):
            links_out.append(link)
        elif (link.sink_node is node):
            links_in.append(link)
    for link in (links_out + links_in):
        self.remove_link(link)
