Author Topic: Setting size of diagrams in generated documentation  (Read 308 times)

bknoth2

  • EA User
  • **
  • Posts: 31
  • Karma: +0/-0
    • View Profile
Setting size of diagrams in generated documentation
« on: July 21, 2017, 02:59:25 am »
I've seen a few posts on this topic but no answers, so I thought I'd take my chances.

When I use {Diagram.DiagramImg} to put an image into generated documentation, the image is smaller than I'd like (it's legible, but I'd like the diagram to be bigger. Is there a way to set the size?

Thanks
Bruce

Sunshine

  • EA User
  • **
  • Posts: 500
  • Karma: +33/-1
  • Amicorum omnia communia
    • View Profile
Re: Setting size of diagrams in generated documentation
« Reply #1 on: July 23, 2017, 09:19:22 am »
Not found a way to set size as such. Sparx EA appears to fit the width of diagram to the page width until it hits the height limit on the page. You make the diagram width wider by making the left and right margins in the template smaller. You can rotate the diagram via the properties on the diagram too.
One final trick is to add section breaks before and after the diagram image and make the page size in the template A3 and landscape if the diagram is not legible on A4 size pages.
Hope that helps