Book a Demo

Author Topic: Trace Sequence Diagram Usage  (Read 5508 times)

Hardy

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Trace Sequence Diagram Usage
« 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"?
« Last Edit: July 31, 2012, 01:57:52 am by hardywang »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Trace Sequence Diagram Usage
« Reply #1 on: July 31, 2012, 03:38:13 pm »
Not that easily.

You could write an SQL search for it such as
Code: [Select]
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 if you would be interested in that.

Geert

Hardy

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Trace Sequence Diagram Usage
« Reply #2 on: October 30, 2014, 12:57:01 am »
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.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Trace Sequence Diagram Usage
« Reply #3 on: November 03, 2014, 05:57:01 pm »
Quote
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

Hardy

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Trace Sequence Diagram Usage
« Reply #4 on: November 04, 2014, 06:54:41 am »
Is there a plan you are going to implement it?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Trace Sequence Diagram Usage
« Reply #5 on: November 04, 2014, 05:46:13 pm »
Quote
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

Hardy

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Trace Sequence Diagram Usage
« Reply #6 on: November 05, 2014, 12:58:12 am »
Really appreciated it. The feature will be very useful to me.

I will give it a try once you complete it.