You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently working on a workflow visualization using elks and have encountered a challenge while trying to customize the spacing between specific nodes. I’m using the layered layout algorithm and would like to adjust the elk.spacing.nodeNode parameter for some nodes selectively so that sure edges between nodes have shorter lengths than others.
Hi, in your example, the vertical distance between nodes would be set by spacing.nodeNodeBetweenLayers or spacing.edgeNodeBetweenLayers, which is not available as an individual spacing option.
Here is an overview for all spacing options. However, note that the guide assumes that the layout direction is left-to-right, hence vertical and horizontal would be interchanged for your use case.
@sagunji Sadly there is currently no real alternative.
The issue is tracked here. Currently, this seems to be a lot of implementation effect, since one has to make sure that all parts that work with coordinates adhere to the individual spacing.
However, the following may work for you:
Maybe you can introduce invisible parent nodes, as shown here?
I am currently working on a workflow visualization using elks and have encountered a challenge while trying to customize the spacing between specific nodes. I’m using the layered layout algorithm and would like to adjust the
elk.spacing.nodeNode
parameter for some nodes selectively so that sure edges between nodes have shorter lengths than others.Here is the elklive example
Expected behavior
I would like to control the edge length or specify the distance between two nodes.
Screenshots from actual product
Additional context
The screenshot has a hidden node (
Join
as represented in the elk example. )The text was updated successfully, but these errors were encountered: