Panzoom() - how to call properly ? (js)

77 views
Skip to first unread message

dms

unread,
May 21, 2013, 6:08:40 PM5/21/13
to cytoscap...@googlegroups.com
I have inside my read:function(){
var $container = $("#cytoscape");
//    debugger;
   $container.cytoscapePanzoom();
...
}

on chrome console I see that I have the Panzoom div setted, but I cannot see the controls.

Are there anything else I need to call to display the panzoom control for my graph ?


Panzoom_js.tiff

Bumbu Alex

unread,
May 21, 2013, 6:11:02 PM5/21/13
to cytoscape-discuss
Did you add panzoom css file?

dms

unread,
May 21, 2013, 6:40:53 PM5/21/13
to cytoscap...@googlegroups.com
Yes,

now it's working but without the + - icons.
Should I have the images anywhere  ? I look for this info on the .css but coundn't find.

Thank you for your time.

Bumbu Alex

unread,
May 21, 2013, 7:47:24 PM5/21/13
to cytoscape-discuss
As I see icons are from font-awesome.css.
So you have to add this css and FontAwesome font's files.
Reply all
Reply to author
Forward
0 new messages