Last active
December 15, 2015 20:18
-
-
Save henryyan/5317179 to your computer and use it in GitHub Desktop.
bpmndi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<bpmndi:BPMNEdge bpmnElement="flow12" id="BPMNEdge_flow12"> | |
<omgdi:waypoint x="290" y="300"></omgdi:waypoint> | |
<omgdi:waypoint x="625" y="300"></omgdi:waypoint> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds height="11" width="100" x="10" y="0"></omgdc:Bounds> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNEdge> | |
There are two waypoint elements, use the first or second are imprecise, so caculate the middle x and y to positon the label. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment