@aranzatech/diagrams-bpmn 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-MLUJKUTG.js → chunk-4AX573IV.js} +3 -3
- package/dist/{chunk-MLUJKUTG.js.map → chunk-4AX573IV.js.map} +1 -1
- package/dist/{chunk-6TUC5QX5.js → chunk-DNR5WBQH.js} +83 -2
- package/dist/chunk-DNR5WBQH.js.map +1 -0
- package/dist/{chunk-4OAEWYYU.js → chunk-W3ROOC6E.js} +3 -3
- package/dist/{chunk-4OAEWYYU.js.map → chunk-W3ROOC6E.js.map} +1 -1
- package/dist/elements/index.cjs +81 -0
- package/dist/elements/index.cjs.map +1 -1
- package/dist/elements/index.d.cts +2 -2
- package/dist/elements/index.d.ts +2 -2
- package/dist/elements/index.js +2 -2
- package/dist/index.cjs +81 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/{types-CxzazgBX.d.cts → types-C78d_Kdh.d.cts} +3 -1
- package/dist/{types-CxzazgBX.d.ts → types-C78d_Kdh.d.ts} +3 -1
- package/dist/xml/index.cjs +81 -0
- package/dist/xml/index.cjs.map +1 -1
- package/dist/xml/index.d.cts +1 -1
- package/dist/xml/index.d.ts +1 -1
- package/dist/xml/index.js +2 -2
- package/package.json +4 -3
- package/dist/chunk-6TUC5QX5.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { BPMN_ELEMENT_CATALOG, acceptsBoundaryEvents, getElementMeta, getHandlePolicy, getOrientation, isChoreographyType, isContainerType, isConversationType, isDataType, isEventType, isGatewayType, isTaskType, supportsCollapse, supportsMarkers } from './elements/index.cjs';
|
|
2
|
-
export { B as BpmnCategory, a as BpmnEdgeData, b as BpmnEdgeType, c as BpmnElementMeta, d as BpmnElementType, e as BpmnEventSemantics, f as BpmnHandlePolicy, g as BpmnNodeData, h as BpmnOrientation, E as EventTrigger, S as SubProcessVariant, T as TaskMarker } from './types-
|
|
2
|
+
export { B as BpmnCategory, a as BpmnEdgeData, b as BpmnEdgeType, c as BpmnElementMeta, d as BpmnElementType, e as BpmnEventSemantics, f as BpmnHandlePolicy, g as BpmnNodeData, h as BpmnOrientation, E as EventTrigger, S as SubProcessVariant, T as TaskMarker } from './types-C78d_Kdh.cjs';
|
|
3
3
|
export { AnnotationNode, BPMN_NODE_TYPES, BoundaryEventNode, CallChoreographyNode, CallConversationNode, ChoreographyTaskNode, ConversationNode, DataInputNode, DataObjectNode, DataObjectReferenceNode, DataOutputNode, DataStoreNode, DataStoreReferenceNode, EndEventNode, GatewayNode, GroupNode, IntermediateCatchEventNode, IntermediateThrowEventNode, LaneNode, PoolNode, StartEventNode, SubChoreographyNode, SubConversationNode, SubProcessNode, TaskNode } from './nodes/index.cjs';
|
|
4
4
|
export { AssociationEdge, BPMN_EDGE_TYPES, ConversationLinkEdge, DataAssociationEdge, MessageFlowEdge, SequenceFlowEdge } from './edges/index.cjs';
|
|
5
5
|
export { BpmnExportOptions, BpmnImportResult, BpmnRFEdge, BpmnRFNode, parseBpmnXml, serializeBpmnXml } from './xml/index.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { BPMN_ELEMENT_CATALOG, acceptsBoundaryEvents, getElementMeta, getHandlePolicy, getOrientation, isChoreographyType, isContainerType, isConversationType, isDataType, isEventType, isGatewayType, isTaskType, supportsCollapse, supportsMarkers } from './elements/index.js';
|
|
2
|
-
export { B as BpmnCategory, a as BpmnEdgeData, b as BpmnEdgeType, c as BpmnElementMeta, d as BpmnElementType, e as BpmnEventSemantics, f as BpmnHandlePolicy, g as BpmnNodeData, h as BpmnOrientation, E as EventTrigger, S as SubProcessVariant, T as TaskMarker } from './types-
|
|
2
|
+
export { B as BpmnCategory, a as BpmnEdgeData, b as BpmnEdgeType, c as BpmnElementMeta, d as BpmnElementType, e as BpmnEventSemantics, f as BpmnHandlePolicy, g as BpmnNodeData, h as BpmnOrientation, E as EventTrigger, S as SubProcessVariant, T as TaskMarker } from './types-C78d_Kdh.js';
|
|
3
3
|
export { AnnotationNode, BPMN_NODE_TYPES, BoundaryEventNode, CallChoreographyNode, CallConversationNode, ChoreographyTaskNode, ConversationNode, DataInputNode, DataObjectNode, DataObjectReferenceNode, DataOutputNode, DataStoreNode, DataStoreReferenceNode, EndEventNode, GatewayNode, GroupNode, IntermediateCatchEventNode, IntermediateThrowEventNode, LaneNode, PoolNode, StartEventNode, SubChoreographyNode, SubConversationNode, SubProcessNode, TaskNode } from './nodes/index.js';
|
|
4
4
|
export { AssociationEdge, BPMN_EDGE_TYPES, ConversationLinkEdge, DataAssociationEdge, MessageFlowEdge, SequenceFlowEdge } from './edges/index.js';
|
|
5
5
|
export { BpmnExportOptions, BpmnImportResult, BpmnRFEdge, BpmnRFNode, parseBpmnXml, serializeBpmnXml } from './xml/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { acceptsBoundaryEvents, getHandlePolicy, getOrientation, isChoreographyType, isContainerType, isConversationType, isDataType, isEventType, isGatewayType, isTaskType, supportsCollapse, supportsMarkers } from './chunk-
|
|
1
|
+
export { acceptsBoundaryEvents, getHandlePolicy, getOrientation, isChoreographyType, isContainerType, isConversationType, isDataType, isEventType, isGatewayType, isTaskType, supportsCollapse, supportsMarkers } from './chunk-4AX573IV.js';
|
|
2
2
|
export { AnnotationNode, BPMN_NODE_TYPES, BoundaryEventNode, CallChoreographyNode, CallConversationNode, ChoreographyTaskNode, ConversationNode, DataInputNode, DataObjectNode, DataObjectReferenceNode, DataOutputNode, DataStoreNode, DataStoreReferenceNode, EndEventNode, GatewayNode, GroupNode, IntermediateCatchEventNode, IntermediateThrowEventNode, LaneNode, PoolNode, StartEventNode, SubChoreographyNode, SubConversationNode, SubProcessNode, TaskNode } from './chunk-NXMUX67A.js';
|
|
3
3
|
export { AssociationEdge, BPMN_EDGE_TYPES, ConversationLinkEdge, DataAssociationEdge, MessageFlowEdge, SequenceFlowEdge } from './chunk-3AFZDIMQ.js';
|
|
4
4
|
import './chunk-23B2IGK5.js';
|
|
5
|
-
export { parseBpmnXml, serializeBpmnXml } from './chunk-
|
|
6
|
-
export { BPMN_ELEMENT_CATALOG, getElementMeta } from './chunk-
|
|
5
|
+
export { parseBpmnXml, serializeBpmnXml } from './chunk-W3ROOC6E.js';
|
|
6
|
+
export { BPMN_ELEMENT_CATALOG, getElementMeta } from './chunk-DNR5WBQH.js';
|
|
7
7
|
import { createSimulation, tick, fire, getFireable, isCompleted } from './chunk-57LA2WSJ.js';
|
|
8
8
|
export { createSimulation, fire, getFireable, isCompleted, setVariable, tick } from './chunk-57LA2WSJ.js';
|
|
9
9
|
|
|
@@ -2,13 +2,15 @@ type BpmnCategory = "event" | "task" | "gateway" | "container" | "artifact" | "d
|
|
|
2
2
|
type BpmnHandlePolicy = "all" | "source" | "target" | "none";
|
|
3
3
|
type BpmnOrientation = "horizontal" | "vertical" | "free";
|
|
4
4
|
type BpmnEventSemantics = "start" | "intermediateCatch" | "intermediateThrow" | "boundary" | "end";
|
|
5
|
-
type BpmnElementType = "StartEvent" | "EndEvent" | "IntermediateCatchEvent" | "IntermediateThrowEvent" | "BoundaryEvent" | "Task" | "UserTask" | "ServiceTask" | "ScriptTask" | "ManualTask" | "BusinessRuleTask" | "ReceiveTask" | "SendTask" | "CallActivity" | "ExclusiveGateway" | "InclusiveGateway" | "ParallelGateway" | "EventBasedGateway" | "ComplexGateway" | "SubProcess" | "Pool" | "Lane" | "Annotation" | "Group" | "DataObject" | "DataObjectReference" | "DataInput" | "DataOutput" | "DataStore" | "DataStoreReference" | "Conversation" | "SubConversation" | "CallConversation" | "ChoreographyTask" | "SubChoreography" | "CallChoreography";
|
|
5
|
+
type BpmnElementType = "StartEvent" | "EndEvent" | "IntermediateCatchEvent" | "IntermediateThrowEvent" | "BoundaryEvent" | "Task" | "UserTask" | "ServiceTask" | "ScriptTask" | "ManualTask" | "BusinessRuleTask" | "ReceiveTask" | "SendTask" | "CallActivity" | "ExclusiveGateway" | "InclusiveGateway" | "ParallelGateway" | "EventBasedGateway" | "ComplexGateway" | "SubProcess" | "Transaction" | "EventSubProcess" | "AdHocSubProcess" | "Pool" | "Lane" | "Annotation" | "Group" | "DataObject" | "DataObjectReference" | "DataInput" | "DataOutput" | "DataStore" | "DataStoreReference" | "Conversation" | "SubConversation" | "CallConversation" | "ChoreographyTask" | "SubChoreography" | "CallChoreography";
|
|
6
6
|
type BpmnEdgeType = "sequenceFlow" | "messageFlow" | "association" | "dataAssociation" | "conversationLink";
|
|
7
7
|
type EventTrigger = "none" | "message" | "timer" | "escalation" | "conditional" | "error" | "cancel" | "compensation" | "signal" | "link" | "terminate" | "multiple" | "parallelMultiple";
|
|
8
8
|
type TaskMarker = "loop" | "parallelMultiple" | "sequentialMultiple" | "compensation";
|
|
9
9
|
type SubProcessVariant = "embedded" | "event" | "transaction" | "adhoc";
|
|
10
10
|
interface BpmnElementMeta {
|
|
11
11
|
label: string;
|
|
12
|
+
/** lucide-react icon name, e.g. "User", "Settings", "Circle". */
|
|
13
|
+
icon: string;
|
|
12
14
|
category: BpmnCategory;
|
|
13
15
|
defaultWidth: number;
|
|
14
16
|
defaultHeight: number;
|
|
@@ -2,13 +2,15 @@ type BpmnCategory = "event" | "task" | "gateway" | "container" | "artifact" | "d
|
|
|
2
2
|
type BpmnHandlePolicy = "all" | "source" | "target" | "none";
|
|
3
3
|
type BpmnOrientation = "horizontal" | "vertical" | "free";
|
|
4
4
|
type BpmnEventSemantics = "start" | "intermediateCatch" | "intermediateThrow" | "boundary" | "end";
|
|
5
|
-
type BpmnElementType = "StartEvent" | "EndEvent" | "IntermediateCatchEvent" | "IntermediateThrowEvent" | "BoundaryEvent" | "Task" | "UserTask" | "ServiceTask" | "ScriptTask" | "ManualTask" | "BusinessRuleTask" | "ReceiveTask" | "SendTask" | "CallActivity" | "ExclusiveGateway" | "InclusiveGateway" | "ParallelGateway" | "EventBasedGateway" | "ComplexGateway" | "SubProcess" | "Pool" | "Lane" | "Annotation" | "Group" | "DataObject" | "DataObjectReference" | "DataInput" | "DataOutput" | "DataStore" | "DataStoreReference" | "Conversation" | "SubConversation" | "CallConversation" | "ChoreographyTask" | "SubChoreography" | "CallChoreography";
|
|
5
|
+
type BpmnElementType = "StartEvent" | "EndEvent" | "IntermediateCatchEvent" | "IntermediateThrowEvent" | "BoundaryEvent" | "Task" | "UserTask" | "ServiceTask" | "ScriptTask" | "ManualTask" | "BusinessRuleTask" | "ReceiveTask" | "SendTask" | "CallActivity" | "ExclusiveGateway" | "InclusiveGateway" | "ParallelGateway" | "EventBasedGateway" | "ComplexGateway" | "SubProcess" | "Transaction" | "EventSubProcess" | "AdHocSubProcess" | "Pool" | "Lane" | "Annotation" | "Group" | "DataObject" | "DataObjectReference" | "DataInput" | "DataOutput" | "DataStore" | "DataStoreReference" | "Conversation" | "SubConversation" | "CallConversation" | "ChoreographyTask" | "SubChoreography" | "CallChoreography";
|
|
6
6
|
type BpmnEdgeType = "sequenceFlow" | "messageFlow" | "association" | "dataAssociation" | "conversationLink";
|
|
7
7
|
type EventTrigger = "none" | "message" | "timer" | "escalation" | "conditional" | "error" | "cancel" | "compensation" | "signal" | "link" | "terminate" | "multiple" | "parallelMultiple";
|
|
8
8
|
type TaskMarker = "loop" | "parallelMultiple" | "sequentialMultiple" | "compensation";
|
|
9
9
|
type SubProcessVariant = "embedded" | "event" | "transaction" | "adhoc";
|
|
10
10
|
interface BpmnElementMeta {
|
|
11
11
|
label: string;
|
|
12
|
+
/** lucide-react icon name, e.g. "User", "Settings", "Circle". */
|
|
13
|
+
icon: string;
|
|
12
14
|
category: BpmnCategory;
|
|
13
15
|
defaultWidth: number;
|
|
14
16
|
defaultHeight: number;
|
package/dist/xml/index.cjs
CHANGED
|
@@ -9,6 +9,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
9
9
|
// ─── Events ──────────────────────────────────────────────────────────────────
|
|
10
10
|
StartEvent: {
|
|
11
11
|
label: "Start Event",
|
|
12
|
+
icon: "Circle",
|
|
12
13
|
category: "event",
|
|
13
14
|
defaultWidth: 36,
|
|
14
15
|
defaultHeight: 36,
|
|
@@ -24,6 +25,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
24
25
|
},
|
|
25
26
|
EndEvent: {
|
|
26
27
|
label: "End Event",
|
|
28
|
+
icon: "CircleDot",
|
|
27
29
|
category: "event",
|
|
28
30
|
defaultWidth: 36,
|
|
29
31
|
defaultHeight: 36,
|
|
@@ -38,6 +40,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
38
40
|
},
|
|
39
41
|
IntermediateCatchEvent: {
|
|
40
42
|
label: "Intermediate Catch Event",
|
|
43
|
+
icon: "Clock",
|
|
41
44
|
category: "event",
|
|
42
45
|
defaultWidth: 36,
|
|
43
46
|
defaultHeight: 36,
|
|
@@ -51,6 +54,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
51
54
|
},
|
|
52
55
|
IntermediateThrowEvent: {
|
|
53
56
|
label: "Intermediate Throw Event",
|
|
57
|
+
icon: "Zap",
|
|
54
58
|
category: "event",
|
|
55
59
|
defaultWidth: 36,
|
|
56
60
|
defaultHeight: 36,
|
|
@@ -64,6 +68,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
64
68
|
},
|
|
65
69
|
BoundaryEvent: {
|
|
66
70
|
label: "Boundary Event",
|
|
71
|
+
icon: "AlertCircle",
|
|
67
72
|
category: "event",
|
|
68
73
|
defaultWidth: 36,
|
|
69
74
|
defaultHeight: 36,
|
|
@@ -79,6 +84,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
79
84
|
// ─── Tasks ───────────────────────────────────────────────────────────────────
|
|
80
85
|
Task: {
|
|
81
86
|
label: "Task",
|
|
87
|
+
icon: "Square",
|
|
82
88
|
category: "task",
|
|
83
89
|
defaultWidth: 120,
|
|
84
90
|
defaultHeight: 60,
|
|
@@ -92,6 +98,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
92
98
|
},
|
|
93
99
|
UserTask: {
|
|
94
100
|
label: "User Task",
|
|
101
|
+
icon: "User",
|
|
95
102
|
category: "task",
|
|
96
103
|
defaultWidth: 120,
|
|
97
104
|
defaultHeight: 60,
|
|
@@ -105,6 +112,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
105
112
|
},
|
|
106
113
|
ServiceTask: {
|
|
107
114
|
label: "Service Task",
|
|
115
|
+
icon: "Settings",
|
|
108
116
|
category: "task",
|
|
109
117
|
defaultWidth: 120,
|
|
110
118
|
defaultHeight: 60,
|
|
@@ -118,6 +126,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
118
126
|
},
|
|
119
127
|
ScriptTask: {
|
|
120
128
|
label: "Script Task",
|
|
129
|
+
icon: "FileCode",
|
|
121
130
|
category: "task",
|
|
122
131
|
defaultWidth: 120,
|
|
123
132
|
defaultHeight: 60,
|
|
@@ -131,6 +140,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
131
140
|
},
|
|
132
141
|
ManualTask: {
|
|
133
142
|
label: "Manual Task",
|
|
143
|
+
icon: "Hand",
|
|
134
144
|
category: "task",
|
|
135
145
|
defaultWidth: 120,
|
|
136
146
|
defaultHeight: 60,
|
|
@@ -144,6 +154,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
144
154
|
},
|
|
145
155
|
BusinessRuleTask: {
|
|
146
156
|
label: "Business Rule Task",
|
|
157
|
+
icon: "Scale",
|
|
147
158
|
category: "task",
|
|
148
159
|
defaultWidth: 120,
|
|
149
160
|
defaultHeight: 60,
|
|
@@ -157,6 +168,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
157
168
|
},
|
|
158
169
|
ReceiveTask: {
|
|
159
170
|
label: "Receive Task",
|
|
171
|
+
icon: "Mail",
|
|
160
172
|
category: "task",
|
|
161
173
|
defaultWidth: 120,
|
|
162
174
|
defaultHeight: 60,
|
|
@@ -170,6 +182,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
170
182
|
},
|
|
171
183
|
SendTask: {
|
|
172
184
|
label: "Send Task",
|
|
185
|
+
icon: "Send",
|
|
173
186
|
category: "task",
|
|
174
187
|
defaultWidth: 120,
|
|
175
188
|
defaultHeight: 60,
|
|
@@ -183,6 +196,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
183
196
|
},
|
|
184
197
|
CallActivity: {
|
|
185
198
|
label: "Call Activity",
|
|
199
|
+
icon: "ExternalLink",
|
|
186
200
|
category: "task",
|
|
187
201
|
defaultWidth: 120,
|
|
188
202
|
defaultHeight: 60,
|
|
@@ -197,6 +211,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
197
211
|
// ─── Gateways ────────────────────────────────────────────────────────────────
|
|
198
212
|
ExclusiveGateway: {
|
|
199
213
|
label: "Exclusive Gateway",
|
|
214
|
+
icon: "GitBranch",
|
|
200
215
|
category: "gateway",
|
|
201
216
|
defaultWidth: 50,
|
|
202
217
|
defaultHeight: 50,
|
|
@@ -209,6 +224,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
209
224
|
},
|
|
210
225
|
InclusiveGateway: {
|
|
211
226
|
label: "Inclusive Gateway",
|
|
227
|
+
icon: "GitMerge",
|
|
212
228
|
category: "gateway",
|
|
213
229
|
defaultWidth: 50,
|
|
214
230
|
defaultHeight: 50,
|
|
@@ -221,6 +237,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
221
237
|
},
|
|
222
238
|
ParallelGateway: {
|
|
223
239
|
label: "Parallel Gateway",
|
|
240
|
+
icon: "GitFork",
|
|
224
241
|
category: "gateway",
|
|
225
242
|
defaultWidth: 50,
|
|
226
243
|
defaultHeight: 50,
|
|
@@ -233,6 +250,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
233
250
|
},
|
|
234
251
|
EventBasedGateway: {
|
|
235
252
|
label: "Event-Based Gateway",
|
|
253
|
+
icon: "Radio",
|
|
236
254
|
category: "gateway",
|
|
237
255
|
defaultWidth: 50,
|
|
238
256
|
defaultHeight: 50,
|
|
@@ -246,6 +264,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
246
264
|
},
|
|
247
265
|
ComplexGateway: {
|
|
248
266
|
label: "Complex Gateway",
|
|
267
|
+
icon: "Asterisk",
|
|
249
268
|
category: "gateway",
|
|
250
269
|
defaultWidth: 50,
|
|
251
270
|
defaultHeight: 50,
|
|
@@ -259,6 +278,52 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
259
278
|
// ─── Containers ───────────────────────────────────────────────────────────────
|
|
260
279
|
SubProcess: {
|
|
261
280
|
label: "Sub-Process",
|
|
281
|
+
icon: "Layout",
|
|
282
|
+
category: "container",
|
|
283
|
+
defaultWidth: 350,
|
|
284
|
+
defaultHeight: 200,
|
|
285
|
+
handlePolicy: "all",
|
|
286
|
+
orientation: "horizontal",
|
|
287
|
+
isContainer: true,
|
|
288
|
+
acceptsBoundaryEvents: true,
|
|
289
|
+
supportsCollapse: true,
|
|
290
|
+
supportsMarkers: true,
|
|
291
|
+
canBeStart: false,
|
|
292
|
+
canBeEnd: false
|
|
293
|
+
},
|
|
294
|
+
Transaction: {
|
|
295
|
+
label: "Transaction",
|
|
296
|
+
icon: "CreditCard",
|
|
297
|
+
category: "container",
|
|
298
|
+
defaultWidth: 350,
|
|
299
|
+
defaultHeight: 200,
|
|
300
|
+
handlePolicy: "all",
|
|
301
|
+
orientation: "horizontal",
|
|
302
|
+
isContainer: true,
|
|
303
|
+
acceptsBoundaryEvents: true,
|
|
304
|
+
supportsCollapse: true,
|
|
305
|
+
supportsMarkers: true,
|
|
306
|
+
canBeStart: false,
|
|
307
|
+
canBeEnd: false
|
|
308
|
+
},
|
|
309
|
+
EventSubProcess: {
|
|
310
|
+
label: "Event Sub-Process",
|
|
311
|
+
icon: "Workflow",
|
|
312
|
+
category: "container",
|
|
313
|
+
defaultWidth: 350,
|
|
314
|
+
defaultHeight: 200,
|
|
315
|
+
handlePolicy: "all",
|
|
316
|
+
orientation: "horizontal",
|
|
317
|
+
isContainer: true,
|
|
318
|
+
acceptsBoundaryEvents: false,
|
|
319
|
+
supportsCollapse: true,
|
|
320
|
+
supportsMarkers: true,
|
|
321
|
+
canBeStart: false,
|
|
322
|
+
canBeEnd: false
|
|
323
|
+
},
|
|
324
|
+
AdHocSubProcess: {
|
|
325
|
+
label: "Ad-Hoc Sub-Process",
|
|
326
|
+
icon: "Shuffle",
|
|
262
327
|
category: "container",
|
|
263
328
|
defaultWidth: 350,
|
|
264
329
|
defaultHeight: 200,
|
|
@@ -273,6 +338,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
273
338
|
},
|
|
274
339
|
Pool: {
|
|
275
340
|
label: "Pool",
|
|
341
|
+
icon: "Columns",
|
|
276
342
|
category: "container",
|
|
277
343
|
defaultWidth: 600,
|
|
278
344
|
defaultHeight: 200,
|
|
@@ -287,6 +353,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
287
353
|
},
|
|
288
354
|
Lane: {
|
|
289
355
|
label: "Lane",
|
|
356
|
+
icon: "AlignJustify",
|
|
290
357
|
category: "container",
|
|
291
358
|
defaultWidth: 600,
|
|
292
359
|
defaultHeight: 120,
|
|
@@ -302,6 +369,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
302
369
|
// ─── Artifacts ────────────────────────────────────────────────────────────────
|
|
303
370
|
Annotation: {
|
|
304
371
|
label: "Text Annotation",
|
|
372
|
+
icon: "StickyNote",
|
|
305
373
|
category: "artifact",
|
|
306
374
|
defaultWidth: 100,
|
|
307
375
|
defaultHeight: 60,
|
|
@@ -316,6 +384,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
316
384
|
},
|
|
317
385
|
Group: {
|
|
318
386
|
label: "Group",
|
|
387
|
+
icon: "Group",
|
|
319
388
|
category: "artifact",
|
|
320
389
|
defaultWidth: 300,
|
|
321
390
|
defaultHeight: 200,
|
|
@@ -331,6 +400,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
331
400
|
// ─── Data (BPMN 2.0 §10.3) ───────────────────────────────────────────────────
|
|
332
401
|
DataObject: {
|
|
333
402
|
label: "Data Object",
|
|
403
|
+
icon: "File",
|
|
334
404
|
category: "data",
|
|
335
405
|
defaultWidth: 36,
|
|
336
406
|
defaultHeight: 50,
|
|
@@ -345,6 +415,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
345
415
|
},
|
|
346
416
|
DataObjectReference: {
|
|
347
417
|
label: "Data Object Reference",
|
|
418
|
+
icon: "FileSymlink",
|
|
348
419
|
category: "data",
|
|
349
420
|
defaultWidth: 36,
|
|
350
421
|
defaultHeight: 50,
|
|
@@ -359,6 +430,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
359
430
|
},
|
|
360
431
|
DataInput: {
|
|
361
432
|
label: "Data Input",
|
|
433
|
+
icon: "FileInput",
|
|
362
434
|
category: "data",
|
|
363
435
|
defaultWidth: 36,
|
|
364
436
|
defaultHeight: 50,
|
|
@@ -372,6 +444,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
372
444
|
},
|
|
373
445
|
DataOutput: {
|
|
374
446
|
label: "Data Output",
|
|
447
|
+
icon: "FileOutput",
|
|
375
448
|
category: "data",
|
|
376
449
|
defaultWidth: 36,
|
|
377
450
|
defaultHeight: 50,
|
|
@@ -385,6 +458,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
385
458
|
},
|
|
386
459
|
DataStore: {
|
|
387
460
|
label: "Data Store",
|
|
461
|
+
icon: "Database",
|
|
388
462
|
category: "data",
|
|
389
463
|
defaultWidth: 50,
|
|
390
464
|
defaultHeight: 50,
|
|
@@ -399,6 +473,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
399
473
|
},
|
|
400
474
|
DataStoreReference: {
|
|
401
475
|
label: "Data Store Reference",
|
|
476
|
+
icon: "DatabaseZap",
|
|
402
477
|
category: "data",
|
|
403
478
|
defaultWidth: 50,
|
|
404
479
|
defaultHeight: 50,
|
|
@@ -414,6 +489,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
414
489
|
// ─── Conversation (BPMN 2.0 §12) ─────────────────────────────────────────────
|
|
415
490
|
Conversation: {
|
|
416
491
|
label: "Conversation",
|
|
492
|
+
icon: "MessageCircle",
|
|
417
493
|
category: "conversation",
|
|
418
494
|
defaultWidth: 60,
|
|
419
495
|
defaultHeight: 52,
|
|
@@ -426,6 +502,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
426
502
|
},
|
|
427
503
|
SubConversation: {
|
|
428
504
|
label: "Sub-Conversation",
|
|
505
|
+
icon: "MessagesSquare",
|
|
429
506
|
category: "conversation",
|
|
430
507
|
defaultWidth: 60,
|
|
431
508
|
defaultHeight: 52,
|
|
@@ -439,6 +516,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
439
516
|
},
|
|
440
517
|
CallConversation: {
|
|
441
518
|
label: "Call Conversation",
|
|
519
|
+
icon: "PhoneCall",
|
|
442
520
|
category: "conversation",
|
|
443
521
|
defaultWidth: 60,
|
|
444
522
|
defaultHeight: 52,
|
|
@@ -452,6 +530,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
452
530
|
// ─── Choreography (BPMN 2.0 §11) ─────────────────────────────────────────────
|
|
453
531
|
ChoreographyTask: {
|
|
454
532
|
label: "Choreography Task",
|
|
533
|
+
icon: "ArrowLeftRight",
|
|
455
534
|
category: "choreography",
|
|
456
535
|
defaultWidth: 120,
|
|
457
536
|
defaultHeight: 80,
|
|
@@ -464,6 +543,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
464
543
|
},
|
|
465
544
|
SubChoreography: {
|
|
466
545
|
label: "Sub-Choreography",
|
|
546
|
+
icon: "BoxSelect",
|
|
467
547
|
category: "choreography",
|
|
468
548
|
defaultWidth: 120,
|
|
469
549
|
defaultHeight: 80,
|
|
@@ -477,6 +557,7 @@ var BPMN_ELEMENT_CATALOG = {
|
|
|
477
557
|
},
|
|
478
558
|
CallChoreography: {
|
|
479
559
|
label: "Call Choreography",
|
|
560
|
+
icon: "Phone",
|
|
480
561
|
category: "choreography",
|
|
481
562
|
defaultWidth: 120,
|
|
482
563
|
defaultHeight: 80,
|