w1,h1 always seem to be relative to the source node rectangle center, even for many
bendpoints.
w2,h2 likewise seem always relative to the target node rectangle center even for many
bendpoints. In other words, bendpoint coordinates have their origins at the node
rectangles -- they are not offsets from another bendpoint.
However, I find the w1,h1 coordinates more stable than the w2,h2 coordinates when you
change the graph. If I move the source or target node rectangle, the bendpoints all stay
in the same place relative to the source (that's how it is implemented) and the w1,h1
coordinates don't change as you'd expect. The w2,h2 coordinates should change,
but they don't! However, if I then reposition a bendpoint, the w2,h2 coordinates
update to the correct values.
I tested by closing and reopening the processdefinition.xml and gpd.xml files after any
change to the diagram.
I'm not sure exactly what version designer I'm using, it may be 3.0.12, but
certainly not the latest so perhaps the w2,h2 coordinate updating is fixed in later
versions.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127980#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...