#NEWLINE# def mouseMoveEvent( self , event ) : #NEWLINE# #INDENT# '\n        Node head dragging.\n        ' #NEWLINE# if self . dragging : #NEWLINE# #INDENT# self . mouseMoved = True #NEWLINE# self . floatingDestinationPoint = event . scenePos ( ) #NEWLINE# if self . destDrawNode ( ) : #NEWLINE# #INDENT# preSnap = self . scene ( ) . dag . snapshot ( nodeMetaDict = self . scene ( ) . nodeMetaDict ( ) , connectionMetaDict = self . scene ( ) . connectionMetaDict ( ) ) #NEWLINE# self . destDrawNode ( ) . removeDrawEdge ( self ) #NEWLINE# self . scene ( ) . nodesDisconnected . emit ( self . sourceDrawNode ( ) . dagNode , self . destDrawNode ( ) . dagNode ) #NEWLINE# self . setDestDrawNode ( None ) #NEWLINE# currentSnap = self . scene ( ) . dag . snapshot ( nodeMetaDict = self . scene ( ) . nodeMetaDict ( ) , connectionMetaDict = self . scene ( ) . connectionMetaDict ( ) ) #NEWLINE# self . scene ( ) . undoStack ( ) . push ( depends_undo_commands . DagAndSceneUndoCommand ( preSnap , currentSnap , self . scene ( ) . dag , self . scene ( ) ) ) #NEWLINE# #UNINDENT# self . adjust ( ) #NEWLINE# #UNINDENT# QtGui . QGraphicsItem . mouseMoveEvent ( self , event )