Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Hardy on July 31, 2012, 01:57:31 am
-
I have created a sequence diagram, and dragged it to other sequence diagrams to become "ref". Is there a way I can trace what are other diagrams reference to this one as "ref"?
-
Not that easily.
You could write an SQL search for it such as
select distinct d.ea_guid as CLASSGUID,d.Diagram_Type as CLASSTYPE,d.name as Name ,package.name as PackageName ,package_p1.name as PackageLevel1,package_p2.name as PackageLevel2 ,package_p3.name as PackageLevel3
from (((((((t_diagram d
inner join t_diagramobjects do on do.Diagram_ID = d.Diagram_ID)
inner join t_object o on o.Object_ID = do.Object_ID and o.Object_Type = 'UMLDiagram')
inner join t_diagram d_ref on o.PDATA1 = d_ref.Diagram_ID)
inner join t_package package on d.package_id = package.package_id)
left join t_package package_p1 on package_p1.package_id = package.parent_id)
left join t_package package_p2 on package_p2.package_id = package_p1.parent_id)
left join t_package package_p3 on package_p3.package_id = package_p2.parent_id)
where
o.name like '#WC#<Search Term>#WC#' or
d_ref.ea_guid like '#WC#<Search Term>#WC#'Or I could include it as a new feature in the EA Navigator (http://geertbellekens.wordpress.com/ea-navigator/) if you would be interested in that.
Geert
-
Would you be able to let me know how to use your EA Navigator to trace the sequence diagram usage via "ref"?
I played with it for a bit of time and I could not figure out a way yet.
-
Would you be able to let me know how to use your EA Navigator to trace the sequence diagram usage via "ref"?
I would have to implement that feature before you would be able to use it.
Geert
-
Is there a plan you are going to implement it?
-
Is there a plan you are going to implement it?
There is now: https://github.com/GeertBellekens/Enterprise-Architect-Toolpack/issues/26
I'll let you know when it is finished
Geert
-
Really appreciated it. The feature will be very useful to me.
I will give it a try once you complete it.