Using C# addin I was creating the elements and adding it into the diagram.So when we add to diagram it will not be arranged.So when I open the Diagram it will not be auto-arranged.So using Addin is there any Api provided by EA to auto-arrange all the elements created.
Asked
Active
Viewed 127 times
-1
-
Unless you explain what you mean by "properly arranged" you will not get a reasonable answer (so I voted for closing due to "opinion-based"). – qwerty_so Aug 18 '16 at 09:15
1 Answers
1
It is hard task to "properly arrange" 500 elements in diagram. If you are able to arrange elements using some of EA predefined layout styles, use LayoutDiagramEx method of Project Class. See http://sparxsystems.com/enterprise_architect_user_guide/12.1/automation_and_scripting/project_2.html

Petr Pribyl
- 3,425
- 1
- 20
- 22
-
With the restriction that "properly arranged" is primarily opinion-based (the auto-layout is ok for smaller diagrams, but fails for any decent larger amount of elements). – qwerty_so Aug 18 '16 at 09:14