mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-02-02 12:13:42 +00:00
parent
8055914d41
commit
bcdac47882
@ -46,14 +46,14 @@ function BpmnRenderer(events) {
|
|||||||
.attr({
|
.attr({
|
||||||
fill: 'white',
|
fill: 'white',
|
||||||
stroke: 'black',
|
stroke: 'black',
|
||||||
'stroke-width': 1.5,
|
'stroke-width': 1,
|
||||||
'stroke-dasharray': '1,0'
|
'stroke-dasharray': '1,0'
|
||||||
})
|
})
|
||||||
.marker(0, 0, 10, 10, 4, 4)
|
.marker(0, 0, 10, 10, 4, 4)
|
||||||
.attr({
|
.attr({
|
||||||
markerUnits: 'strokeWidth',
|
markerUnits: 'strokeWidth',
|
||||||
markerWidth: 8,
|
markerWidth: 7,
|
||||||
markerHeight: 8,
|
markerHeight: 7,
|
||||||
orient: 'auto',
|
orient: 'auto',
|
||||||
overflow: 'visible'
|
overflow: 'visible'
|
||||||
}));
|
}));
|
||||||
@ -63,16 +63,16 @@ function BpmnRenderer(events) {
|
|||||||
.path('M 0 0 L 10 5 L 0 10')
|
.path('M 0 0 L 10 5 L 0 10')
|
||||||
.attr({
|
.attr({
|
||||||
stroke: 'black',
|
stroke: 'black',
|
||||||
fill: 'none',
|
fill: 'white',
|
||||||
'stroke-width': 1.5,
|
'stroke-width': 1,
|
||||||
'stroke-linecap': 'round',
|
'stroke-linecap': 'round',
|
||||||
'stroke-dasharray': '1,0'
|
'stroke-dasharray': '1,0'
|
||||||
})
|
})
|
||||||
.marker(0, 0, 10, 10, 12, 5)
|
.marker(0, 0, 10, 10, 10, 5)
|
||||||
.attr({
|
.attr({
|
||||||
markerUnits: 'strokeWidth',
|
markerUnits: 'strokeWidth',
|
||||||
markerWidth: 10,
|
markerWidth: 4,
|
||||||
markerHeight: 5,
|
markerHeight: 4,
|
||||||
orient: 'auto',
|
orient: 'auto',
|
||||||
overflow: 'visible'
|
overflow: 'visible'
|
||||||
}));
|
}));
|
||||||
@ -226,7 +226,6 @@ function BpmnRenderer(events) {
|
|||||||
|
|
||||||
return diamond;
|
return diamond;
|
||||||
},
|
},
|
||||||
|
|
||||||
'bpmn:SequenceFlow': function(p, data) {
|
'bpmn:SequenceFlow': function(p, data) {
|
||||||
var polyline = drawLine(p, data.waypoints);
|
var polyline = drawLine(p, data.waypoints);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user