Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: EA Newbie on June 27, 2024, 11:53:42 pm
-
I'm using Sparx EA 15.2. I recently created a diagram with multiple operational exchanges as information flows. They appear in the diagram and in the browser, but when I right click them in the browser and choose "find in all diagrams" the resulting table shows as blank, even though I can plainly see they're on the diagram. Am I adding the connectors on the diagram incorrectly? I want to utilize the "find in all diagrams" feature to easily locate which diagrams contain the same connector so we can show who all receives said information. As a general example: An information flow "Pizza Completed" would show a pizza is finished being made, and both the customer and the manager is notified, but their processes would be on two diagrams. Thank you for any help you can provide.
-
Find in all diagrams only works for elements, not connectors. In order to find them you need to write a (tricky) query or write a script. Maybe someone here has something in his drawer?
q.
-
Find in all diagrams only works for elements, not connectors. In order to find them you need to write a (tricky) query or write a script. Maybe someone here has something in his drawer?
q.
Thank you for your reply!
-
When you richt-click on a connector, you can choose "Visibility => Hide Connector in Other Diagrams".
This shows a pop-up with a list of all diagrams where this connector is used.
Don't know whether this is available in an API.
This also depends on how you want to "show" this information and to whom.
-
Hi,
I assume that you are referring to a data flow of a Class (of some type, say a struct or a Topic in a pub-sub environment). In your example these would be modeled as two distinct connectors, which would both have the same data flow object.
If you have installed Geert's Navigator, you may right click on the Class (that flows as data) and see the "Conveying Connectors", and under that you will find In Diagrams.
I wrote a complicated SQL to find structs and "Topics" (defined by a Stereotype) that are not used in any attributes or Data Flows.
See here, as this is what I based by query on:
https://sparxsystems.com/forums/smf/index.php/topic,39025 (https://sparxsystems.com/forums/smf/index.php/topic,39025)
Sincerely,
Shimon