#NEWLINE# def __init__( self , dagNode ) : #NEWLINE# #INDENT# '\n        ' #NEWLINE# QtGui . QGraphicsItem . __init__ ( dagNode ) #NEWLINE# self . dagNode = dagNode #NEWLINE# self . incomingDrawEdgeList = list ( ) #NEWLINE# self . outgoingDrawEdgeList = list ( ) #NEWLINE# self . nub = DrawNodeNub ( ) #NEWLINE# self . nub . setParentItem ( self ) #NEWLINE# self . setFlag ( QtGui . QGraphicsItem . ItemIsMovable ) #NEWLINE# self . setFlag ( QtGui . QGraphicsItem . ItemIsSelectable ) #NEWLINE# self . setFlag ( QtGui . QGraphicsItem . ItemSendsGeometryChanges ) #NEWLINE# self . setAcceptedMouseButtons ( QtCore . Qt . LeftButton ) #NEWLINE# self . setCacheMode ( self . DeviceCoordinateCache ) #NEWLINE# self . setZValue ( ( - 1 ) ) #NEWLINE# self . width = 150 #NEWLINE# self . height = 20 #NEWLINE# self . clickSnap = None #NEWLINE# self . clickPosition = None #NEWLINE# if ( type ( self . dagNode ) == depends_node . DagNodeDot ) : #NEWLINE# #INDENT# self . width = 15 #NEWLINE# self . height = 15