Book a Demo

Author Topic: Geometry values for DiagramLinks  (Read 3955 times)

jamesl

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Geometry values for DiagramLinks
« on: September 07, 2012, 01:58:02 am »
Afternoon all


I'm trying to improve the auto-layout of my diagrams by resizing/moving the text that appears on my ControlFlows.

I've been playing around with the various text that appears in the Geometry values for the links i.e. this stuff:

EDGE=3;SX=0;SY=0;EX=0;EY=0;$LLB=;LLT=;LMT=;LMB=;LRT=CX=96:CY=26:OX=53:OY=-151:HDN=0:BLD=0:ITA=0:UND=0:CLR=-1:ALN=0:DIR=0:ROT=0;LRB=;IRHS=;ILHS=;

What I'm interested in is size and positioning relative to the object the ControlFlow is connecting to.

So far I've worked out that CX and CY control the size of the textbox. However OX and OY for the positioning are a mystery to me. It's obviously operating relative to something, but I can't figure out what! Can anybody help on this?

jamesl

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Geometry values for DiagramLinks
« Reply #1 on: September 12, 2012, 10:11:01 pm »
Managed to solve my positioning problem without figuring out the values - info for anyone it's useful for...

I was foolishly importing my condition text ("If person is a new client" etc...) into the "Name" value of the ControlFlow - in fact it should have been going into the "TransitionGuard" value. When you use the correct value, EA suddenly positions things much better  ;)