Page 1 of 1

Relations layouting

Posted: Tue 15 May 2012 14:05
by Alexey Zimarev
Is there any setting that I can set to prevent relations to cross entities? Entity Framework designer and some other visual tools done it nicely but in DevArt I just see a grid of lines across entities.

Image

Re: Relations layouting

Posted: Wed 16 May 2012 08:28
by Helen
Have you tried to make a Layout Diagram via the diagram context menu item having the same name ?

We are currently investigating this issue for models having lots of associations.

Re: Relations layouting

Posted: Wed 16 May 2012 09:48
by Alexey Zimarev
The issue with shapes overlapping relations is not only for large models. I tried on the same database with with an empty model, added couple of tables to the model, there are just a few relations there. But when I move a shape and drop it to the place where relations are already visualized as lines, these lines are not rearranged as for example in EDM designer or MindScape model designer, check the attachment
Image

Re: Relations layouting

Posted: Wed 16 May 2012 12:42
by Helen
Alexey Zimarev wrote:But when I move a shape and drop it to the place where relations are already visualized as lines, these lines are not rearranged as for example in EDM designer or MindScape model designer
To make relations rebuild for your current diagram, select the Options item in the diargam context menu. Then in the General page deselect the Preserve Routing check-box.
If you need to preserve routing of relation links on the diagram, then keep this check-box selected.

If you don't want Preserve Routing to be applied to your new diagrams and models,deselect this check-box at the general level. If you work with the standalone application, in the application's main menu, select Tools and then select Options. Expand the Diagram node and, under it, select General. Uncheck the Preserve Routing check-box.
When working with Visual Studio use the menu Tools->Entity Developer->Options.

Please inform us whether this information was helpful for you.