fix(draw/BpmnRenderer): only display message flow marker if messageRef
Closes #205
This commit is contained in:
parent
9898ad888c
commit
4fa01649b5
|
@ -1094,7 +1094,8 @@ function BpmnRenderer(events, styles, pathMap) {
|
|||
},
|
||||
'bpmn:MessageFlow': function(p, element) {
|
||||
|
||||
var di = getDi(element);
|
||||
var semantic = getSemantic(element),
|
||||
di = getDi(element);
|
||||
|
||||
var pathData = createPathFromConnection(element);
|
||||
var path = drawPath(p, pathData, {
|
||||
|
@ -1105,7 +1106,7 @@ function BpmnRenderer(events, styles, pathMap) {
|
|||
strokeWidth: 1
|
||||
});
|
||||
|
||||
if (!!di.messageVisibleKind) {
|
||||
if (semantic.messageRef) {
|
||||
var midPoint = path.getPointAtLength(path.getTotalLength() / 2);
|
||||
|
||||
var markerPathData = pathMap.getScaledPath('MESSAGE_FLOW_MARKER', {
|
||||
|
|
Loading…
Reference in New Issue