Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
selector: 'body',
}, {
tagName: 'text',
selector: 'label',
}, {
tagName: 'image',
selector: 'image',
},
markersMarkup('topLeft'),
markersMarkup('topCenter'),
markersMarkup('topRight'),
markersMarkup('bottomLeft'),
markersMarkup('bottomCenter'),
markersMarkup('bottomRight')],
defaults: util.deepSupplement({
size: { width: 36, height: 36 },
attrs: {
'image': { 'ref-x': 5, 'ref-y': 5, ref: 'circle', width: 26, height: 26 },
...markersAttrs('topLeft', { ref: 'circle', 'ref-y': -20, 'ref-padding-x': 0 }),
...markersAttrs('topCenter', { ref: 'circle', 'ref-y': -20 }),
...markersAttrs('topRight', { ref: 'circle', 'ref-x': 26, 'ref-y': -20, 'ref-padding-x': 0 }, -1),
...markersAttrs('bottomLeft', { ref: 'circle', 'ref-padding-x': 0, 'ref-padding-y': -40 }),
...markersAttrs('bottomCenter', { ref: 'circle', 'ref-padding-y': -40 }),
...markersAttrs('bottomRight', { ref: 'circle', 'ref-x': 26, 'ref-padding-x': 0, 'ref-padding-y': -40 }, -1),
},
}, shapes.standard.Circle.prototype.defaults),
});
selector: 'body2',
}, {
tagName: 'text',
selector: 'label',
}, {
tagName: 'image',
selector: 'image',
},
markersMarkup('topLeft'),
markersMarkup('topCenter'),
markersMarkup('topRight'),
markersMarkup('bottomLeft'),
markersMarkup('bottomCenter'),
markersMarkup('bottomRight')],
defaults: util.deepSupplement({
type: 'processmaker.components.nodes.intermediateEvent.Shape',
size: { width: 36, height: 36 },
attrs: {
'body': { fill: '#FFF4D1', stroke: '#FBBE02' },
'body2': { cx: 18, cy: 18, r: 15, 'stroke-width': 2, fill: '#FFF4D1', stroke: '#FBBE02' },
'image': { 'ref-x': 5, 'ref-y': 5, ref: 'circle', width: 26, height: 26 },
...markersAttrs('topLeft', { ref: 'circle', 'ref-y': -20, 'ref-padding-x': 0 }),
...markersAttrs('topCenter', { ref: 'circle', 'ref-y': -20 }),
...markersAttrs('topRight', { ref: 'circle', 'ref-x': 26, 'ref-y': -20, 'ref-padding-x': 0 }, -1),
...markersAttrs('bottomLeft', { ref: 'circle', 'ref-padding-x': 0, 'ref-padding-y': -40 }),
...markersAttrs('bottomCenter', { ref: 'circle', 'ref-padding-y': -40 }),
...markersAttrs('bottomRight', { ref: 'circle', 'ref-x': 26, 'ref-padding-x': 0, 'ref-padding-y': -40 }, -1),
},
}, shapes.standard.Circle.prototype.defaults),
markup: [{
tagName: 'circle',
selector: 'body',
},{
tagName: 'circle',
selector: 'body2',
}, {
tagName: 'text',
selector: 'label',
}, {
tagName: 'image',
selector: 'image',
}],
defaults: util.deepSupplement({
type: 'processmaker.components.nodes.boundaryEvent.Shape',
size: { width: 36, height: 36 },
attrs: {
label: {
refY: '130%',
},
body: {
stroke: '#212529',
strokeWidth: 0.85,
fill: '#FFF',
},
body2: {
cx: 18,
cy: 18,
r: 15,