def __init__(self, node, port): """ Args: node (NodeGraphQt.NodeObject): parent node object. port (NodeGraphQt.widgets.port.PortItem): port view item. """ self.__view = port self.__model = PortModel(node)
def __init__(self, node, port): self.__view = port self.__model = PortModel(node)