Comments (2)
Hi @nlafleur, for the future, it helps us a lot if you recreate your graph in elklive and link to that. To solve your problem you have two options:
- set hierarchyHandling to INCLUDE_CHILDREN to support layout of hierarchy-crossing edges or
- set seperateConnectedComponents to false (because your top-level nodes are not connected) and use partitions to manually decide where each node should be placed
Both options can be seen here.
Let me know if this answers your question.
from elkjs.
@Eddykasp the "hierarchyHandling": "INCLUDE_CHILDREN" indeed did the trick! Thanks
from elkjs.
Related Issues (20)
- [Question] Does ELK support the use of (Extended) Backus-Naur Form (EBNF) conventions to define layout options? HOT 4
- Generate typings for elkjs-api based on ELK HOT 1
- Question: Long edge is not going around nodes HOT 1
- Support box layout along with edges HOT 1
- How can we prevent edges from overcrowding on a single surface of a node in a layered layout? HOT 5
- Specify Position for Specific Node in ELKJS HOT 2
- Build from source error (Ubuntu 22.04 LTS) HOT 1
- _Worker is not a constructor when importing another worker with Vite and Yarn3 and PNP HOT 3
- Incorrect Port Side Switching in ELKJS with ReactFlow HOT 14
- Layout option to force global `container: root` coordinates for all children and edges HOT 1
- Port alignment ignored when connecting from child to parent HOT 2
- How to align children top position on the same level? HOT 4
- Measuring execution time throws NullPointerException
- Layout configurations not applying HOT 7
- How to preserve nodes order? HOT 1
- Help in configuring layout HOT 4
- DisCo randomly breaks the Java compilation in Github Actions
- In a hierarchical layout, how to constrain dimensions? HOT 4
- [Question] Position of elements with mix of nested elements and single nodes HOT 2
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 elkjs.