Hi Jason,
You should be able to export your small graph as PNG once you give java enough memory to run. You'll just need to edit the cytoscape.sh file and change:
java -Dswing.aatext=true -Xss5M -Xmx512M -jar cytoscape.jar cytoscape.CyMain -p plugins "$@"
to
java -Dswing.aatext=true -Xss5M -Xmx3G -jar cytoscape.jar cytoscape.CyMain -p plugins "$@"
You'll need to experiment with the proper number here. You might only need 2G and you might need 5G, it's hard to say.
Unfortunately, I don't think you'll be able to load, let alone render as PNG, your large graph. Right now I'd put the upper limit of Cytoscape's capability at somewhere around 1 million TOTAL nodes and edges and even that would require nice hardware to run decently. The only systems I've seen capable of rendering networks that large are specialized programs written in postscript.
As for extracting XY coordinates, your best bet is to export the network as either XGMML or GML. Both will have XY coordinates in the graphics element of each format. While not precisely the format you want, it should be pretty easy to parse out the positions. Then it's up to you to map those coordinates to the PNG, but that shouldn't be too hard.
thanks,
Mike
--
____________________________________________________________
Michael Smoot, Ph.D. Bioengineering Department
tel:
858-822-4756 University of California San Diego