Comments (2)
I'm not exactly the JavaScript person in the project, so I'll answer the question from a non-JavaScript point of view.
Are there ways of only laying out certain parts?
No, we currently don't have any layout algorithms that support this kind of thing.
Which of the layout options is the most efficient?
The following settings should improve the algorithm's performance:
de.cau.cs.kieler.klay.layered.nodeLayering: LONGEST_PATH
de.cau.cs.kieler.klay.layered.greedySwitch: OFF
You can also try the following setting, but I'm not sure if that will actually improve performance since the default setting should already be quite fast:
de.cau.cs.kieler.klay.layered.nodePlacement: LINEAR_SEGMENTS
How big a graph would you expect to have calculation time of less than half a second?
That's a bit hard to answer. In general, layout performance not only depends on the number of nodes, but also on the number of edges and the graph's general structure. Having said that, I would expect layout to take less than half a second for up to a couple of hundred nodes with a reasonable number of connections. On desktop computers, that is. I don't have any point of reference for mobile devices. See ticket #15 for another discussion on algorithm performance.
from klayjs.
@robclouth Have you tried running klay in a worker? https://github.com/OpenKieler/klayjs#web-worker
from klayjs.
Related Issues (20)
- Calculate positions for self loops and orthogonal routing style. HOT 1
- Max graph width and node 'wrap' HOT 13
- Time Savings with Interactive Mode HOT 3
- Location of the Java source code HOT 5
- Force edge to leave and re-enter parent source node when targeting descendant node HOT 2
- Set the spacing of cross-hierachy edge virtual ports HOT 9
- Allow node and edge id's as integers. HOT 2
- layouter's `error` callback function must be specified
- Global layout option not applied HOT 4
- bendPoints must be set for interactive layout HOT 6
- pretty development version HOT 6
- collapse parent HOT 1
- child edge positioning HOT 2
- Different direction within the graph HOT 5
- 'Short hierarchical edges' not imported if layoutHierarchy false
- When do you plan to provide a new version? HOT 14
- How to compile from original source? HOT 2
- intCoordinates results in misaligned edges originating from and targeting the same port HOT 5
- Help with debugging; exception after adding a node HOT 7
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 klayjs.