private void updateSynapseNodePositions(){
  for (Iterator i=getChildrenIterator(); i.hasNext(); ) {
    PNode node=(PNode)i.next();
    if (node instanceof NeuronNode) {
      NeuronNode neuronNode=(NeuronNode)node;
      neuronNode.updateSynapseNodePositions();
    }
  }
}

private void updateSynapseNodePositions ( ) { for ( Iterator i = getChildrenIterator ( ) ; i . hasNext ( ) ; ) { PNode node = ( PNode ) i . next ( ) ; if ( node instanceof NeuronNode ) { NeuronNode neuronNode = ( NeuronNode ) node ; neuronNode . updateSynapseNodePositions ( ) ; } } }
update synapse node positions .
