Comments (2)
Sigma fills the available space and sets this as the fully zoomed-out level. You have a fixed height of 1000px in your css for .sigma-parent . Remove this line and change it to "height: 100%" and the graph will fit in the available space.
from sigma.js.
Also, you can set the minRatio
and maxRatio
parameters to modify how much the user can zoom in or out. And in the new version, the related parameters are zoomMin
and zoomMax
(doc here).
from sigma.js.
Related Issues (20)
- Remaining V3.0.0 release tasks
- Build fails with "Missing './rendering/node-labels' specifier" after updating to 3.0.0-beta.8 HOT 3
- about loop edge, curved edge, quadratic edge HOT 2
- v3.0.0-beta.10: Package.json module (esm) export "./rendering" incomplete HOT 3
- Node scaling issue on MacOS with NodeBorderProgram and NodePointProgram HOT 8
- NodeCircleProgram is buggy on Chrome mobile
- @sigma/edge-curve is buggy on Chrome mobile
- How do I do custom shapes? HOT 1
- Create a snapshot of "sigma-containter" HOT 1
- Questions about the use of the sigma HOT 1
- The error of edge reduce HOT 3
- Optimizing Zoom Functionality for Scalable Graphics HOT 3
- CDN release for latest version HOT 3
- Sigma with VueJs HOT 2
- Utility functions not available when loading sigma statically via cdn HOT 1
- Add Kenelyze to the In The Wild section
- Changing programs with `setSetting` has no effect HOT 1
- Height and width for images in nodes HOT 2
- Angular: update from 2.4 to sigma 3.0 beta, cannot find type declarations error during compile HOT 2
- Opacity for edges
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sigma.js.