Auto-Layout for Microflows and Domain Models - Mendix Forum

Auto-Layout for Microflows and Domain Models

14

Complex or large domain models and microflows often get messy with overlapping or intersecting association lines or activity-transition lines between activities in the microflows. It is always a manual effort to keep arranging the layout to keep it neat and readable. Would be great to have an auto-layout option for domain models and microflows in the modeler.

asked
7 answers

Any updates regarding how to do an auto-layout on a very large microflow? I am using version 9.5.1

Created

Fully agree with this problem as described. See also my suggestion to add layers: https://forum.mendix.com/link/ideas/1713 

Created

Few months back, I also posted a similar idea for domain models, because microflows have that feature of auto-alignment. Now I see that this was already submitted a year ago. I was expecting it to be there in Mendix 8.

Created

Long time ago, I made this: https://www.npmjs.com/package/mfautolayout

You may take a look.

Created

There are algorithms available that will do this, even for complex diagrams.

Check https://www.yworks.com/yed-live/

Would be cool if Mendix incorporates this for flows and domain models.

Created

An improvement has been made in 7.18:

Align and Distribute Microflow Activities
You can now select several microflow activities and align them or distribute them evenly.

But more of this kind of auto-layout is surely welcome.

Created

Unless an auto-layout option is very advanced and well designed, I can imagine that it will only work properly for rather simple models. I personally think that a good feature would be allowing turns/bends in associations, analogues to Microsoft Visio.

Created