forked from netgrif/academy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquestion_and_answer.xml
105 lines (105 loc) · 2.04 KB
/
question_and_answer.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<?xml version="1.0" encoding="UTF-8"?>
<document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://modeler.netgrif.com/petriflow_schema.xsd">
<id>new_model</id>
<initials>NEW</initials>
<title>New Model</title>
<defaultRole>true</defaultRole>
<transitionRole>false</transitionRole>
<!-- TRANSACTIONS -->
<!-- ROLES -->
<role>
<id>Admin</id>
<title>Admin</title>
</role>
<!-- PROCESS ROLE REFS -->
<!-- PROCESS USER REFS -->
<!-- DATA -->
<!-- I18NS -->
<!-- TRANSITIONS -->
<transition>
<id>t1</id>
<x>380</x>
<y>340</y>
<layout>
<offset>0</offset>
</layout>
<label>Ask a Question</label>
<assignPolicy>auto</assignPolicy>
<roleRef>
<id>Admin</id>
<logic>
<perform>true</perform>
</logic>
</roleRef>
</transition>
<transition>
<id>t2</id>
<x>700</x>
<y>340</y>
<layout>
<offset>0</offset>
</layout>
<label>Answer a question</label>
<assignPolicy>auto</assignPolicy>
<roleRef>
<id>Admin</id>
<logic>
<perform>true</perform>
</logic>
</roleRef>
</transition>
<!-- PLACES -->
<place>
<id>p1</id>
<x>220</x>
<y>340</y>
<label></label>
<tokens>1</tokens>
<static>false</static>
</place>
<place>
<id>p2</id>
<x>540</x>
<y>340</y>
<label></label>
<tokens>0</tokens>
<static>false</static>
</place>
<place>
<id>p3</id>
<x>854</x>
<y>340</y>
<label></label>
<tokens>0</tokens>
<static>false</static>
</place>
<!-- ARCS -->
<arc>
<id>a1</id>
<type>regular</type>
<sourceId>p1</sourceId>
<destinationId>t1</destinationId>
<multiplicity>1</multiplicity>
</arc>
<arc>
<id>a2</id>
<type>regular</type>
<sourceId>t1</sourceId>
<destinationId>p2</destinationId>
<multiplicity>1</multiplicity>
</arc>
<arc>
<id>a3</id>
<type>regular</type>
<sourceId>p2</sourceId>
<destinationId>t2</destinationId>
<multiplicity>1</multiplicity>
</arc>
<arc>
<id>a4</id>
<type>regular</type>
<sourceId>t2</sourceId>
<destinationId>p3</destinationId>
<multiplicity>1</multiplicity>
</arc>
</document>