Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BPMN 2.0 Modeler » What is "di:waypoint " in BPMN?(what rapresents the di:waypoint node)
What is "di:waypoint " in BPMN? [message #1232329] Thu, 16 January 2014 17:46 Go to next message
Blerta Dhimitri is currently offline Blerta DhimitriFriend
Messages: 1
Registered: January 2014
Junior Member
Hi everyone!
I've been reading on the XML structure of BPMN files and I have understood everything expect the use of di:waypoint.
Here is a small xml of a bpmn file:

<?xml version="1.0" encoding="UTF-8"?>
<definitions id="Definition">
<process processType="Private" isExecutable="true" id="Minimal" name="Minimal Process" >

<!-- nodes -->
<startEvent id="_1" name="StartProcess" />
<scriptTask id="_2" name="Hello" >
<script>System.out.println("Hello World");</script>
<endEvent id="_3" name="EndProcess" >

<!-- connections -->
<sequenceFlow id="_1-_2" sourceRef="_1" targetRef="_2" />
<sequenceFlow id="_2-_3" sourceRef="_2" targetRef="_3" />


<bpmndi:BPMNPlane bpmnElement="Minimal" >
<bpmndi:BPMNShape bpmnElement="_1" >
<dc:Bounds x="15" y="91" width="48" height="48" />
<bpmndi:BPMNShape bpmnElement="_2" >
<dc:Bounds x="95" y="88" width="83" height="48" />
<bpmndi:BPMNShape bpmnElement="_3" >
<dc:Bounds x="258" y="86" width="48" height="48" />
<bpmndi:BPMNEdge bpmnElement="_1-_2" >
<di:waypoint x="39" y="115" />
<di:waypoint x="75" y="46" />
<di:waypoint x="136" y="112" />
<bpmndi:BPMNEdge bpmnElement="_2-_3" >
<di:waypoint x="136" y="112" />
<di:waypoint x="240" y="240" />
<di:waypoint x="282" y="110" />

Re: What is "di:waypoint " in BPMN? [message #1232360 is a reply to message #1232329] Thu, 16 January 2014 19:18 Go to previous message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 811
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

Hi Blerta, and welcome to the forum Smile

Waypooints, also know as "bend points" in GEF, are x/y coordinates through which a connection line should be drawn when it is rendered in an editor. All coordinates are absolute values with 0,0 at the top left of the diagram. The list of Waypoints includes the starting and ending location of the connection as well, these are typically at the edges of the connection's source and target shapes.

Previous Topic:org.eclipse.bpmn2.modeler.examples.modelreader project
Next Topic:Manipulate model when MessageStartEvent is created
Goto Forum:

Current Time: Mon Feb 17 06:05:46 GMT 2020

Powered by FUDForum. Page generated in 0.03068 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top