Comments (7)
Also I forgot to mention, I am using Cytoscape.js version 3.1.1, cose-bilkent version 1.6.9, and react version 15.5.4. If there is any other information I can provide, please let m know.
from cytoscape.js-cose-bilkent.
@monprin this problem is supposed to be solved by 0d37f1b. Would you verify?
from cytoscape.js-cose-bilkent.
Well, good news and bad news. That did solve that error, but exposed a weirder error. Bilkent now registers just fine, but when the component is mounted, after the registration, when I call the general cytoscape initialization function, it just spins. It never goes anywhere, but there are no errors. It just get's stuck. I tried going back to past versions to see if they worked, but once I hit the 1.5.X series, I was getting a different error, so I am at a bit of a loss as to what is going on, any ideas?
from cytoscape.js-cose-bilkent.
By the way, I am roughly using this model for my react component.
from cytoscape.js-cose-bilkent.
@monprin what do you mean by initialization function it just spins and never goes to anywhere? How can I reproduce it?
from cytoscape.js-cose-bilkent.
Apologies on the delay, I did a little more experimentation and realized it was hanging because it was simply taking that long to run the layout. What parameters would recommend twekaing to improve performance (I'm looking at around 6000 edges and 400 nodes)? Otherwise I will just stick with traditional CoSE. Thanks for your help!
from cytoscape.js-cose-bilkent.
@monprin I suspect that no matter what layout algorithm you use, you won't get very meaningful results with such "dense" graphs (edge/node ratio is 60/4=15). So, if you have to visualize such dense (and large) graphs and you don't have compound/nested nodes in your graphs, I suggest you use some other, faster layout. CoSE is inherently slow (especially now, though we have plans to improve its run time performance from n^3 to n^2 in the future).
Regarding managing complexity, I strongly suggest you use some complexity management method to reduce size of your graphs (e.g. filter by some criteria, initially display a smaller graph of interest, group/cluster nodes into compounds and collapse them - see this extension, etc.)
from cytoscape.js-cose-bilkent.
Related Issues (20)
- Graph nodes not laid out properly HOT 4
- Can a point have two parent nodes?
- Uncaught TypeError: ani.play is not a function HOT 3
- how to set node size from data? HOT 3
- "ReferenceError: self is not defined" error occurring in unstable branch HOT 2
- Uncaught TypeError: Cannot read property 'getParent' of undefined HOT 9
- Cytoscape 3.3 objects in Vue.js state cause endless recursion HOT 12
- Possible to create a planar graph? HOT 5
- Is there a way to keep the nodes on a single Y axis? HOT 1
- Multiple groups of nodes are distributed HOT 3
- Setting nodeDimensionsIncludeLabels to true works not well for zero degree nodes HOT 4
- v4.1.0 has breaking changes to v4.0 HOT 4
- Uniform node dimensions HOT 1
- Pack disconnected graph components using new utility
- Incremental tiling
- Seed for deterministic layout HOT 4
- Retain node positions when chart is being re-generated with the same dataset HOT 3
- Tree reduction during incremental layout
- Update License HOT 2
- fit not working with huge amount of data HOT 1
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 cytoscape.js-cose-bilkent.