elk icon indicating copy to clipboard operation
elk copied to clipboard

Hierachy aware layout should recognize separate connected components

Open soerendomroes opened this issue 3 years ago • 0 comments

Hierarchy-aware layout can help to make global edge routing decisions, however, it does currently not handle separate connected components. I would also like to be able to recognize local separate components (e.g. components with external ports, which are no longer external because we do hierarchy-aware layout).

This is a very bad drawing that is achieved by introducing constraint, which should not be possible since there are three components in CustomerFactory. Sleepingbarber01

If one sensibly sets constraints one can still optimize the position of "5" by putting it right of "4". bad: SleepingBarber05 good: SleepingBarber06

Moreover, in the following graph it is not necessary to force the "1"-"2" component to the same grid as the rest: bad: Cutter01 good: Cutter02

soerendomroes avatar Apr 08 '22 12:04 soerendomroes