[jboss-user] [JBoss jBPM] - Re: GPD process designer - gpd.xml coordinates relative to w

simonbaker do-not-reply at jboss.com
Fri Feb 1 13:11:11 EST 2008


I would greatly appreciate some more help with this topic as we are using JGraph to re-draw our process definition graph for the user.  I don't understand how to use the various x, y, h.., w.. values to position the transition labels and draw the bends in the arrows.

For example, here is a typical node in gpd.xml file:


  |   <node name="Manager - Review Holds" x="290" y="301" width="256" height="40">
  |     <transition name="Officer - Adjust Holds">
  |       <label x="43" y="-4"/>
  |       <bendpoint w1="-162" h1="-29" w2="5" h2="66"/>
  |       <bendpoint w1="-188" h1="-59" w2="130" h2="42"/>
  |     </transition>
  |     <transition name="Manager - Adjust Hold">
  |       <label x="62" y="-18"/>
  |       <bendpoint w1="-312" h1="84" w2="-1" h2="62"/>
  |     </transition>
  |     <transition name="Done">
  |       <label x="5" y="-10"/>
  |     </transition>
  |   </node>
  | 

Can the author of the GPD process designer help us understand how to interpret the attributes in the "label" and "bendpoint" elements so we can redraw these features in another coordinate system?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125628#4125628

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125628



More information about the jboss-user mailing list