elk icon indicating copy to clipboard operation
elk copied to clipboard

Check interplay of LayerConstraint and InteractiveLayering

Open uruuru opened this issue 8 years ago • 2 comments

There seems to be an issue where the interactive layering strategy breaks layer constraints. The first step to solve this issue would be to precisely identify the problem.

uruuru avatar Jul 12 '16 14:07 uruuru

I actually haven't seen the issue since, so I'm closing this.

le-cds avatar Mar 25 '20 13:03 le-cds

An UnsupportedConfigurationException occurs when the interactive cycle breaker reverses edges on a node with layer constraint. For now I'm just omitting the layer constraints when doing an incremental/interactive layout.

algorithm: layered
cycleBreaking.strategy: INTERACTIVE
layering.strategy: INTERACTIVE

node n1 {
    layout [position: 100, 0]
    layering.layerConstraint: FIRST_SEPARATE
}
node n2 {
    layout [position: 0, 0]
}

edge n1 -> n2

protogenes avatar Sep 28 '22 06:09 protogenes