Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: vrieg on September 18, 2024, 09:40:13 pm
-
Hello all,
is there a way to add elements and the connection to other elements via queries?
I am wondering if there is a way to add a graph to EA as known from working with graph databases.
-
Yes that is technically possible, however I think it's a very bad idea.
There is an API that you can use to create elements and relations, which will guarantee the correct records to be created.
If you do it directly on the database, you'll have to take into account all the exceptions and oddities.
There's a pretty good chance of breaking things.
I only use direct database updates or inserts when there is no feasible alternative.
That can either be because the API doesn't support updating or creating a certain thing, or because I need to do so many that it would take days when using the API.
Geert
-
ok thanks understood.