Hi David,
Cytoscape is designed as a UI application; each instance is designed primarily to process requests one at a time. Requests and responses will be limited by memory and processing power made available to Cytoscape.
Interacting with a PGX server would require exchanging JSON data with a running instance of Cytoscape. This has been be done via R, Python or JavaScript, but can be done with any language that can communicate via REST. You can familiarize yourself with the data structures by exploring Cytoscape's Swagger documentation via
the instructions in the Cytoscape Automation wiki. The
Cytoscape Automation wiki and its associated GitHub repository are also a good starting place for using automation.
Of particular interest to you if you're interested in getting Cytoscape JS data will be the
GET /v1/networks/{networkId}/views/{viewId} endpoint, and other endpoints branching from the
/v1/networks/ root of the REST API.
Once you have Cytoscape JS JSON, the Cytoscape JS documentation can provide you with a means to manipulate and display it:
http://js.cytoscape.org/I hope this helps get you started. If you have any other specific questions, please let us know.