Comments (5)
Actually we have enabled force-directed layout (
) and it indeed prevents nodes overlapping when the graph is initially rendered, but I think your request is to have the force-directed layout dynamically recomputed when a node is dragged around. This does not seem to be G6's default behavior but I think there should be a way to implement that.from explorer.
#86 Enable dynamic re-layout on drag, but it is not very smooth... it might need additional tweaking later.
from explorer.
@mewim I think it's really smooth and wonderful! Is there anything in particular you noticed that isn't smooth? I see it working great on my end.
from explorer.
Actually, now that I test it some more, it doesn't do the layout as clean as it maybe could. There are some edges/nodes that are still overlapping once the layout is computed. No worries, this is still a great step up in how it looks, imo.
from explorer.
It seems to have something to do with the parameter settings for the force-direct layout algorithm. I tweaked it a bit but have not got an optimal outcome yet.
from explorer.
Related Issues (20)
- Allow query cell to be resized to show long queries HOT 1
- Inconsistent behaviour between CLI and Explorer when specifying equality predicate on `WHERE` clause HOT 8
- Render progress on Kuzu Explorer HOT 1
- Error: std::bad_alloc HOT 8
- Error on starting demo HOT 2
- Automatically increase edge thickness based on normalized edge weights from a property HOT 1
- Simple query not running in v0.4.0: `isSchemaChanged is not defined error` HOT 1
- Version compatibility <kuzu database storage version> HOT 3
- Feature request: wrap node label on multiple lines HOT 1
- Feature: Add convenience button for match all nodes and rels query
- Kuzu Explorer only updates data after restarting docker HOT 5
- Double clicking on a node a does not create the edge to b if b is already displayed HOT 2
- Profile prints a plan that is not readable
- Double arrowed and undirected relationship drawing in recursive query HOT 1
- Explorer not displaying the recursive relationship correctly HOT 3
- Display `DOUBLE` in float form and not exponential form
- Display better error message when DB storage version doesn't align with Explorer's expectations HOT 2
- Multi-edge not being shown correctly
- Expand nodes causes the relationships to render in the wrong direction HOT 1
- Enable dynamic force-directed layouts in schema view
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 explorer.