Closed francesco-ficarola closed 3 years ago
At present I've solved setting the following in my CSS:
.sigma-scene, .sigma-labels, .sigma-mouse {
left: 0;
}
but why do I have to change the sigma.js classes?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I have also faced this issue, took some time to find it is caused by: text-align: center;
being inherited from some parent. Fix was to set text-align: left;
on the #sigma-container
. Would be nice if Sigma could detect it and behave accordingly.
I'm trying to draw a graph using sigma.js. I'm already done, but the problem is that the graph is not included in the corresponding container.
See the screenshot below:
This is my html code:
and this is the CSS:
then, I generate my graph calling:
where: