Cytoscape.js and Google App Script

93 views
Skip to first unread message

Lorenzo Fabbri

unread,
Oct 20, 2014, 1:59:10 PM10/20/14
to cytoscap...@googlegroups.com
Hello,
I'm new with cytoscape and surely this is the reason why i have problems.
Cytoscape.js is compatible with Google App Script?
Even with a simple example like:

$('#cy').cytoscape(options)
  .css('background', 'red')
  .css('border-color', 'black');


browsers notify me that the type $('#cy').cytoscape is undefined and so nothing happens.
I have imported all libs: jquery and cytoscape.
Could you help me?

Thanks.

Max Franz

unread,
Oct 30, 2014, 10:49:58 AM10/30/14
to cytoscap...@googlegroups.com
Response from other post:

If you're having trouble with Google's proprietary app engine environment, it would probably make sense to ask them for help.  I'm not familiar with it, and I strongly suspect it has a large list of quirks and limitations.

Also, in future, it would help to address your questions quicker if you posted them on Stack Overflow: http://stackoverflow.com/questions/tagged/cytoscape.js

StackOverflow is automatically and regularly monitored, and it helps others who have similar questions.

Thanks,
Max

Lili Wang

unread,
May 5, 2015, 4:00:18 PM5/5/15
to cytoscap...@googlegroups.com, lori.f...@gmail.com
I am working on a google app using Cytoscape.js.
So far, I have imported libs: jquery and cytoscape, so "$('#cy').cytoscape is undefined" had been solved, but it does not show the network.

If I manually click the resulted html file, everything is OK with the network view.

Anyone can help?

Best,
Lili

Lili Wang

unread,
May 7, 2015, 1:38:40 PM5/7/15
to cytoscap...@googlegroups.com, lori.f...@gmail.com
Problems have been solved.
The folder containing the static .css file has to be figured in app.yaml.
Reply all
Reply to author
Forward
0 new messages