I have made a DSL Tool that represents an Entity/Relation diagram.

I would like now to import some model from exisintg DataBase, and I am writing some code to generate Entities and Relations with the LoadModel and SaveModel APIs.

The problem is that, when I open my model in VS, Entities are totally unorganised, and I would like to take care about the places where they are, when I create them.

Are there any way, automatic or with API, to set proper position for created entities

Thanks for any help.

Re: Visual Studio Extensibility Reorganize generated elements by code in a Diagram

Edward Bakker


Have look at the response of Pedro in this thread, you probably find your answer there. If not, let us know :-)