Book a Demo

Author Topic: Create diagram from script - show relationships for one element  (Read 8134 times)

patmarq

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Hi,

We have several buidingbloks created and are using them in our solutions (link).
Now I would like to create a diagram that show all relations used by an element, a bit like 'Find in all Diagrams' but a visual view.

Is this possible and where can I find some information how to do this ?

Thanks

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Create diagram from script - show relationships for one element
« Reply #1 on: March 09, 2017, 12:01:59 am »
Not sure whether this is what you are looking for, but just create an empty diagram, place the element inside and use Insert Related Elements from the context menu.

q.

patmarq

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Create diagram from script - show relationships for one element
« Reply #2 on: March 09, 2017, 06:33:31 pm »
qwerty,

Thanks for the answer. To give an example we have several diagrams (50) where we use an loadbalancer.

The whole idea is to create a diagram where we can see all the connections to this loadbalancer, if we do this at hand this would take some time and leave it open to human errors.
So I was wondering if this was possible through a query and script ?

gr

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Create diagram from script - show relationships for one element
« Reply #3 on: March 09, 2017, 08:30:48 pm »
Just open the Element/Relationships window. It shows all relations of the selected element.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Create diagram from script - show relationships for one element
« Reply #4 on: March 10, 2017, 02:28:48 am »
Have a look as the script described here:
https://bellekens.com/2015/01/30/self-maintaining-diagrams-in-enterprise-architect-with-ea-matic/
It almost does what you need.

Geert