'Remove a link (:class:`.LinkItem`) from the scene.'

def remove_link_item(self, item):

    self.__anchor_layout.invalidateAnchorItem(item.sourceItem.outputAnchorItem)
    self.__anchor_layout.invalidateAnchorItem(item.sinkItem.inputAnchorItem)
    self.__link_items.remove(item)
    item.removeLink()
    self.removeItem(item)
    self.link_item_removed.emit(item)
    log.info(("Removed    link    '%s'    from    '%s'" % (item, self)))
    return item
