Comments (4)
According to this function here https://github.com/jacomyal/sigma.js/blob/master/src/core/sigma.js#L437
It's exactly what this option if here for.
from sigma.js.
No -- the problem is that if I try to bind event handlers like:
sigmaInstance.bind('overnodes', function(event) { ... });
The events will not fire if the drawHoverNodes
option is false, but they will fire if it's true. Event dispatching probably shouldn't be affected by drawing configuration options.
from sigma.js.
I somehow had a similar problem... but it was because my call to
sigmaInstance.init().configProperties() was not properly formatted.
This worked out for me :
this.graph = sigma.init(document.getElementById(anchorDiv)).configProperties().drawingProperties({
labelThreshold: 10000,
defaultEdgeType: 'curve'
}).mouseProperties({
mouseEnabled: true
}).graphProperties({
scalingMode: 'outside'
});
function onClick(event) {
window.console.log("clicked!");
}
this.graph.bind('downnodes',onClick).draw();
Could you post the code of your constructor please ?
from sigma.js.
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.
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.