Hi all,
Thanks all for the responses!
I have now another question.
Can anyone provide me a code snippet for creating an empty network in Cytoscape 3.x application in static manner without using a bundle app if possible?
More specifically, I am porting a Cytoscape plugin from 2.x to 3.x.
Below is a code snippet I have successfully used to make it in Cytoscape 2.x plugin in static manner and would like to make the same in Cytoscape 3.x app.
CyNetwork myNetwork = Cytoscape.createNetwork("My Network", false);
I have tried to make it in the following way in Cytoscape 3.x app.
CyNetwork myNetwork = CyNetworkFactory.createNetwork();
But I am getting the following java compilation error.
Cannot make a static reference to the non-static method createNetwork() from the type CyNetworkFactory
From what I understand the issue is that the CyNetworkFactory.createNetwork is a non-static method.
Interestingly the corresponding method in Cytoscape 2.x (Cytoscape.createNetwork) is static.
I am sorry maybe I am asking a very trivial question but this is the first time I am writing a Cytoscape 3.x app.
Thanks again,
Erno