elk
elk copied to clipboard
interactive layering strategy does not work with edge labels
The following elkt is the minimal version, where edge labels cause the interactive strategy to not work properly:
separateConnectedComponents: false
elk.direction:DOWN
layering.strategy: INTERACTIVE
crossingMinimization.semiInteractive: true
cycleBreaking.strategy: INTERACTIVE
node n1 {
layout [position: 0, 0]
label "n1"
}
node n3 {
layout [position: 0, 100]
label "n3"
}
node n4 {
layout [position: 0, 100]
label "n4"
}
node n5 {
layout [position: 0, 200]
label "n5"
}
edge n1 -> n3 {
label "edge1"
}
Here, the n3 node is in the same layer as n5. However, it should be in the same layer as n4, and n5 in the layer underneath it as specified by the positions. Without the edge label this works properly: