Thanks but... hang on a second, I didn't even know there was a command line interface for Cytoscape... where am I supposed to enter that code?
Actually I was more looking for a way to do this by using the standard Cytoscape GUI. Am I missing something obvious here?