-
-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exported "Open Exchange File" misses nesting relations in view definition #1104
Comments
Hi, The code for this part of the export is this: Lines 886 to 913 in 2473902
Note the comments "If it's nested don't write a connection" and "assume all nested connections should be hidden". We made the decision some years ago (2015) not to export diagram connections where objects were nested, |
The relationship between Node and Technology Interface exists as a To determine if the relationship is referenced as an implicit connection in a View (nested) in the XML you can get the relationship ends (source and target), find the
I don't understand this. A relationship exists in the model whether it is referenced in a View or not. Its existence has nothing to do with its appearance in a View. |
Thank you very much for your response!
I understand and will add these via a SQL stored procedure, but my point was that I cannot relate nested relationships to views if there are more than one. I fully agree that this is not necessary from a model perspective, but as there are various contributors with different levels of experience I don't want to use unchecked/unfinished modeling work for the analytics and reporting dashboards. Thanks again, if you know the reason behind the design decision I am still curious! |
If an element in a View is nested inside of another element and a model relation exists between them then that is the implicit "connection" or representation of the relationship. On the other hand, an explicit line connection can have visual properties. Nesting is a visual representation of a relationship, not something in the model relationship itself. |
(Jumping on this issue) I agree with @Clmbs that knowing which relationship is the one involved in a nesting is usually needed, because in real (and big) models we might have multiple relationships in the model that could be represented as a nesting, and we might also use a nesting for a relationship while the ArchiMate standard doesn't provide a default semantic (eg. nesting devices into a communication network to represent the associations expressing that the devices are some servers connected to the network and not some network equipments composing the network). Archi's Automatic Relationships Management (ARM) feature is for me a big added value of Archi vs some other commercial tools. But this (to my knowledge) is not supported by the current ArchMate Model Exchange File Format, but I can see with other Open Group members if we want to add it into the next version. |
Archi Version
5.4.3
Operating System
Windows 11
Archi Plug-ins
jArchi 1.7.0, coArchi 0.9.2 (not relevant for this issue)
Description
For testing purpose I use the following diagram:
When exporting my model via the Archi app (File>Export>Model to Open Exchange File...) the output is correct (style info left out):
You see RelationRef is present. But when I nest the Technology Interface into the Node and nothing more
I get the following result:
Here RelationRef is lacking. Of course, it is present in other parts of the xml, but unrelated to the view. Btw, relationships between nested objects are rendered correctly, e.g.
For me, this xml output is very important because I transform it to a MySQL database which is used for analytics and reporting on Architecture progress. So if it cannot be solved I will be looking for a workaround.
Steps to reproduce
The text was updated successfully, but these errors were encountered: