Author Topic: How can I access to layout data  (Read 1831 times)

jepessen

  • EA User
  • **
  • Posts: 61
  • Karma: +1/-0
    • View Profile
How can I access to layout data
« on: August 22, 2016, 12:03:15 am »
Hi.

I need to export diagrams in a vectorial format, like SVG or EPS. Considering that they are not supported, I'd like to create a plugin for creating the SVG of a diagram (it should be not so difficult, considering that an SVG is a text file, and that at the moment I need only vectorial data and my diagrams don't have bitmaps).

I'd like to know how can I access in a script (i.e. javascript) to layout data of a diagram. I.e. I'd like to have the position and the dimension of every element in a diagram. Is that possible?

Helmut Ortmann

  • EA User
  • **
  • Posts: 916
  • Karma: +39/-1
    • View Profile
Re: How can I access to layout data
« Reply #1 on: August 22, 2016, 03:15:23 pm »
Hi,

as far as I remember you can find an Addin in the community for SVG.

A diagram is constructed of:
- Diagram objects
- Diagram links
- Properties which controls the visualisation of things
- Settings
- ...

In the script area you can find example JavaScripts for dumping information from the repository.

Kind regards,

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

jepessen

  • EA User
  • **
  • Posts: 61
  • Karma: +1/-0
    • View Profile
Re: How can I access to layout data
« Reply #2 on: August 22, 2016, 04:39:02 pm »
OK I'll check it. Thanks