Author Topic: EA OnDiagramScript - How to layout diagram  (Read 4676 times)

Nodens2k

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
EA OnDiagramScript - How to layout diagram
« on: April 03, 2014, 10:21:03 pm »
Hi,

Is there any way of performing an automatic layout of the current diagram through scripting (javascript syntax preferred)?

I am working on a script that would setup a newly created diagram, populating it with a specific set of elements, and as part of the process I would like to apply an automatic layout to the diagram. Is it possible?

Thanks

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13247
  • Karma: +554/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA OnDiagramScript - How to layout diagram
« Reply #1 on: April 03, 2014, 10:43:42 pm »
Project Interface.LayoutDiagramEx

Geert

Pawel Zubkiewicz

  • EA User
  • **
  • Posts: 78
  • Karma: +2/-1
    • View Profile
    • zubkiewicz.com
Re: EA OnDiagramScript - How to layout diagram
« Reply #2 on: January 19, 2017, 12:45:27 am »
Thanks Geert :-)
Enhanced Requirement Attributes Addin for Enterprise Architect (ERA Addin) - http://zubkiewicz.com/?p=239