|
|
|
Re: Cannot create connections between nodes [message #699363 is a reply to message #699107] |
Thu, 21 July 2011 12:14 |
Michael Wenz Messages: 1931 Registered: July 2009 Location: Walldorf, Germany |
Senior Member |
|
|
Sorry, I simply forgot the 2. question after answering the 1. one...
The coordinates you provide for the xy points of the polygon are wrong.
Since the polygon belongs to an active ContainerShape the coordinates must
be relative to the left top corner of the ContainerShape resp. its Polygon x
and y coordinates.
Using
int xy[] = new int[] { 0, height / 2, width / 2, 0, width, height / 2, width
/ 2, height };
in AddDecisionFeature.add should do the trick (modulo rounding issues).
Michael
"vrm" schrieb im Newsbeitrag news:j07e00$bds$1@news.eclipse.org...
Thanks Michael,
Thanks for your suggestion.I finally did manage to create connections
between the nodes.I was just wondering if you have any suggestion for the
second problem I mentioned in the initial thread about the incorrect
location of the diamond node.
Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.03851 seconds