|
Re: using Sequence Flow in graphiti [message #1403462 is a reply to message #1403451] |
Wed, 23 July 2014 21:09 |
|
I'm guessing you're talking about the Manhattan Routing algorithm that is being used by default for Sequence Flows, correct? This is actually implemented as a Layout Feature on the BPMN2 model objects that represent these types of connections. You have no idea how insanely difficult this was
Please have a look at the class ManhattanConnectionRouter. This is the thing that calculates the FreeFormConnection bend points (with collision detection, oooh, ahhh!) that make up the orthogonal line segments.
The algorithm has just recently been updated for "better behavior", and you can test this out with the nightly build of the BPMN2 Modeler.
Cheers,
Bob
|
|
|
|
Re: using Sequence Flow in graphiti [message #1403466 is a reply to message #1403464] |
Wed, 23 July 2014 21:56 |
|
Sure...go for it. I'm not sure what you're asking. The source code is open source subject to eclipse licensing, so...
I was saying that the Manhattan router algorithm you see is written as an UpdateFeature as part of the BPMN2 Modeler editor. Maybe you need to go through the Graphiti tutorials to learn what an Update Feature is?
|
|
|
Powered by
FUDForum. Page generated in 0.03445 seconds