Closed soerendomroes closed 2 months ago
This shows the model I wanted to fix and the one I broke.
Apparently my bug only works for models were the edges originate from the same node.
This does not seem to be everything. Somehow, this is different.
https://github.com/eclipse/elk-models/pull/22 adds the correctness test as an example model.
Maybe check, whether I should add more concrete tests for all corner cases here. The test models in tests/layered/preserveOrder check all other cases while the basic correctness tests that check that big models have no corner cases left.
Fixes #1065
Make sure that the order of incoming ports matches the order given by the previous layer.
Updated WEST side handling to fix the main issue. Moreover, there was a p1/p2 typo as well.
This also makes port model order non-constraining for input ports same as the edge model order. If one wants to constrain the port order one should use portConstraints.