简体   繁体   中英

Cytoscape.js and Bootstrap

I am trying to display two cytoscape.js graphs under each other using Twitter Bootstrap Grid layout. Unfortunately, cytoscape does not respect the size it gets assigned from Bootstrap but uses the whole screen instead. Does anyone of you have an advice how to combine Bootstrap and cytoscape? Moreover, are there any examples of two cytographs below each other?

Any help is appreciated

Thanks

Initialise after you've set all your style on the container. Cytoscape can't get the dimensions of its container if you haven't set them yet.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM