GMF
Here is some code which will automatically refresh all the nodes and connections visible in a given GMF EditPart.
- http://iaml.svn.sourceforge.net/viewvc/iaml/trunk/examples/gmf/RefreshElementCommand.java?view=markup
It could probably be cleaned up somewhat :D