Comments (3)
@ugurdogrusoz I already pushed it before seeing the created issue here.
43916e1
from cytoscape.js-layout-utilities.
Works nicely. One more improvement could be as follows. Among all those locations yielding the same adjusted fullness, looks like we're settling for an arbitrary one. Shouldn't we settle for the one yielding the biggest fullness?
For example same graph with d.a.r. of 1.25:
With the latter, we're wasting space unnecessarily, as the former clearly shows that there is a better packing with the same adjusted fullness.
Let's discuss.
from cytoscape.js-layout-utilities.
@ugurdogrusoz Now it is changed to look first at Adjusted Fullness, and if equal then Fullness and finally to the closer aspect ratio. However, the result might not change because in the example above the desired aspect ratio is different so the adjusted fullness will also be different because adjusted fullness = f(d.a.r)
from cytoscape.js-layout-utilities.
Related Issues (20)
- Get rid of unnecessary dependency to view-utilities
- Infinite loop during packing HOT 3
- packingApi.packComponents() hangs sometimes 1.0.0 HOT 4
- Master branch ahead of unstable HOT 3
- Change default value for component spacing in packing HOT 2
- How to use this utility for compound nodes HOT 2
- Packing moves components to unrelated location HOT 3
- Error when polyomino grid size factor is less than 1 HOT 4
- Incremental packing HOT 9
- Pack components performance problem HOT 6
- Incremental packing improvement HOT 2
- Pack components inconsistent spacing HOT 3
- Non-incremental packing fails in some cases HOT 3
- Demo not passing edges correctly to packing utility
- Update Demo and README HOT 1
- Holistic approach to placing multiple levels of hidden neighbors
- Place new nodes not working properly HOT 1
- Show hidden neighbors not performing proper layout
- placeNewNodes ignoring compounds, parent-child relations
- Parameterization issue for packing
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-layout-utilities.