-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cytoscape.js-cola layout is not spanning the entire width of a bootstrap card #314
Comments
You are not the only one with this problem... I'm testing out another Electron software that has the exact same problem. |
It seems to be related to cola only. Because I tested with and without Electron and found the same bug. |
Yes, it is the cola library, the developer of the plug-in I use changed to a different layout library and the graph rendered as it should... |
I am using cola layout to render a Cytoscape graph inside a bootstrap card element in an electron app. However, the graph mostly tries to span vertically and in spite of having plenty of spaces in the horizontal direction, it does not span there. Because of this, the node labels become completely illegible. See the screenshot below. I had open this issue earlier in the issue tracker of cytoscape.js-cola (cytoscape/cytoscape.js-cola#52), where I provided an electron gist to reproduce this issue with
[email protected]
and[email protected]
. However, @maxkfranz asked me to open an issue here with a minimal reproducible example but without Electron. Therefore, I have created the following gist:https://gist.github.com/wasimaftab/50b894de4644f820fff5fb2b58cc4016
In this gist, I am using
[email protected]
and[email protected]
.To reproduce the issue open the index.html file in Chrome/Firefox and click Show button.
The text was updated successfully, but these errors were encountered: