question: public void dispose ( ) { Object [ ] inNodesArray = inNodes . toArray ( ) ; for ( int i = 0 ; i < inNodesArray . length ; i ++ ) { DigraphNode node = ( DigraphNode ) inNodesArray [ i ] ; node . removeEdge ( this ) ; } Object [ ] outNodesArray = outNodes . toArray ( ) ; for ( int i = 0 ; i < outNodesArray . length ; i ++ ) { DigraphNode node = ( DigraphNode ) outNodesArray [ i ] ; removeEdge ( node ) ; } }
target:  Removes this node from the graph, updating neighboring nodes appropriately.