Reduce edge complexity
See original GitHub issueIs your feature request related to a problem? Please describe. This issue is a kind request for configuration advice (I think) rather than a feature request. I have a graph which visualize a workflow, this can be seen on the picture below (zoomed out to see the whole picture).
As you can see above it is quite hard to understand as it is visually overcrowded. The nodes are quite distant from each other and the edges connect them in a complex way. Is there any configuration advice I could try to render the nodes and their connections more simple?
Describe the solution you’d like I would like to achieve the proportions similar to JIRA (I have attached a complex workflow below) which would be the target. As you can see this can fit in a smaller screen as it is much more compact.

Describe alternatives you’ve considered
I have tried to use different curves, currently I use d3-shape.curveBundle but could not achieve similar result. Is there anything I miss here? Like enable bidirectional connection rendered using the same edge? Reduce node distance or edge lengths? I have checked the documentation of course but could not make any significant progress.
Additional context
I currently use @swimlane/ngx-graph 5.5.0. Is there any other configuration advice (like upgrade to version 6.x and use node templates or edge templates) I could achieve my goal?
Thank you very much for your valuable help.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)

Top Related StackOverflow Question
ngx-graph version 5.5.0 is using dagre layout for placing the nodes and lines after setting the relationship between nodes.
My advice in this case is to upgrade to version 6 and to build your own layout for placing your nodes and links. This is very dependent on how your internal graph structure but that’s one direction that you can do for achieving this graph layout. For example, I used a dagre only nodes layout where I set the lines shapes between the nodes in order to place a column based graph (using clusters) with a lines that exit and enter from the same location on the node.
@ assafsun : Hi I need your help very urgently , I want to group nodes in the respective clusters and the cluster node shold be TB where as the cluster should be horizontally placed ?, how can i ACHIEVE THIS.