George D
unread,Aug 1, 2013, 6:19:01 AM8/1/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cytoscap...@googlegroups.com
Dear Cytoscape.js community,
I'm trying to use the SVG renderer provided in the Cytoscape.js extensions. I've included it in the Makefile in the list of extensions and then built cytoscape.js. However, when I create an instance of Cytoscape.js with the option renderer = { name: "svg" }, it doesn't recognize the renderer, producing the error "Can not initialise: No such renderer `%s` found; did you include its JS file?". I thought this was strange since the SVG renderer extension code is in the cytoscape.js file I'm using, and the SVG renderer seems to register itself at the end of the extension code.
Could someone please give me some tips on how to use the SVG renderer? Is there a way to use it without building it as part of the cytoscape.js file?
Thank you. As a side note, using renderer = { name: "canvas" } does work.