CLASS Start Event
Highlights/Dependencies |
---|
|
GraphRep Code |
---|
GRAPHREP #-- COLOR DEFINITIONS -- SET colFnt: (rgbval("black")) SET colBrd: (rgbval("$888800")) SET colFFm: (rgbval("white")) SET colFTo: (rgbval("$eeee00")) AVAL sTyp: "Type" AVAL sMes: "Message" AVAL sTim: "Timer" AVAL sCon: "Conditional" AVAL sSig: "Signal" AVAL sEsc: "Escalation" AVAL sErr: "Error" AVAL sCom: "Compensation" AVAL sPar: "Parallel" AVAL showName: "Show name" AVAL sOpenQuest: "Open questions" SET bErrorMarker: 1 CLIP_ELLIPSE rx:.7cm ry:.7cm GRADIENT_RECT x:-0.9cm y:-.7cm w:2.8cm h:1.4cm style:downdiag color1:(colFFm) color2:(colFTo) CLIP_OFF SHADOW off PEN w:0.055cm color:(colBrd) IF (sTyp = "Event Sub-Process (non-interrupting)") PEN w:0.055cm color:(colBrd) style:dash ENDIF ELLIPSE rx:.7cm ry:.7cm PEN w:0.055cm color:(colBrd) # check for multiple triggers IF (((sTyp = "Top-level") AND (((sMes = "Yes") AND ((sTim = "Yes") OR (sCon = "Yes") OR (sSig = "Yes"))) OR ((sTim = "Yes") AND ((sMes = "Yes") OR (sCon = "Yes") OR (sSig = "Yes"))) OR ((sCon = "Yes") AND ((sTim = "Yes") OR (sMes = "Yes") OR (sSig = "Yes")))) ) OR ((sTyp = "Event Sub-Process (interrupting)") AND (((sMes = "Yes") AND ((sTim = "Yes") OR (sCon = "Yes") OR (sSig = "Yes") OR (sEsc = "Yes"))) OR ((sTim = "Yes") AND ((sMes = "Yes") OR (sCon = "Yes") OR (sSig = "Yes") OR (sEsc = "Yes"))) OR ((sCon = "Yes") AND ((sTim = "Yes") OR (sMes = "Yes") OR (sSig = "Yes") OR (sEsc = "Yes"))) OR ((sSig = "Yes") AND ((sTim = "Yes") OR (sCon = "Yes") OR (sMes = "Yes") OR (sEsc = "Yes")))) ) OR ((sTyp = "Event Sub-Process (non-interrupting)") AND (((sMes = "Yes") AND ((sTim = "Yes") OR (sCon = "Yes") OR (sSig = "Yes") OR (sEsc = "Yes") OR (sErr = "Yes") OR (sCom = "Yes"))) OR ((sTim = "Yes") AND ((sMes = "Yes") OR (sCon = "Yes") OR (sSig = "Yes") OR (sEsc = "Yes") OR (sErr = "Yes") OR (sCom = "Yes"))) OR ((sCon = "Yes") AND ((sTim = "Yes") OR (sMes = "Yes") OR (sSig = "Yes") OR (sEsc = "Yes") OR (sErr = "Yes") OR (sCom = "Yes"))) OR ((sSig = "Yes") AND ((sTim = "Yes") OR (sCon = "Yes") OR (sMes = "Yes") OR (sEsc = "Yes") OR (sErr = "Yes") OR (sCom = "Yes"))) OR ((sEsc = "Yes") AND ((sTim = "Yes") OR (sCon = "Yes") OR (sSig = "Yes") OR (sMes = "Yes") OR (sErr = "Yes") OR (sCom = "Yes"))) OR ((sErr = "Yes") AND ((sTim = "Yes") OR (sCon = "Yes") OR (sSig = "Yes") OR (sEsc = "Yes") OR (sMes = "Yes") OR (sCom = "Yes")))) )) IF (sPar = "Yes") POLYGON 12 x1:-0.1cm y1:-0.1cm x2:-0.1cm y2:-0.4cm x3:0.1cm y3:-0.4cm x4:0.1cm y4:-0.1cm x5:0.4cm y5:-0.1cm x6:0.4cm y6:0.1cm x7:0.1cm y7:0.1cm x8:0.1cm y8:0.4cm x9:-0.1cm y9:0.4cm x10:-0.1cm y10:0.1cm x11:-0.4cm y11:0.1cm x12:-0.4cm y12:-0.1cm SET bErrorMarker: 0 ELSE POLYGON 5 x1:0.0cm y1:-0.45cm x2:0.45cm y2:-0.1cm x3:0.3cm y3:0.4cm x4:-0.3cm y4:0.4cm x5:-0.45cm y5:-0.1cm SET bErrorMarker: 0 ENDIF ELSE IF (sMes = "Yes") RECTANGLE x:-.4cm y:-.3cm w:.8cm h:.6cm POLYLINE 3 x1:-.4cm y1:-.3cm x2:.0cm y2:.0cm x3:.4cm y3:-.3cm SET bErrorMarker: 0 ELSIF (sTim = "Yes") TABLE x:-0.4cm y:-0.4cm w:0.8cm h:0.8cm cols:4 rows:4 w1:0.16cm w2:0.24cm w3:0.24cm w4:0.16cm h1:0.16cm h2:0.24cm h3:0.24cm h4:0.16cm LINE x1:(tabx1) y1:(taby0) x2:(tabx3) y2:(taby4) LINE x1:(tabx2) y1:(taby0) x2:(tabx2) y2:(taby4) LINE x1:(tabx3) y1:(taby0) x2:(tabx1) y2:(taby4) LINE x1:(tabx0) y1:(taby1) x2:(tabx4) y2:(taby3) LINE x1:(tabx0) y1:(taby2) x2:(tabx4) y2:(taby2) LINE x1:(tabx0) y1:(taby3) x2:(tabx4) y2:(taby1) CLIP_ELLIPSE rx:0.5cm ry:0.5cm CLIP_ELLIPSE rx:0.4cm ry:0.4cm combine-mode:xor GRADIENT_RECT x:-0.9cm y:-.7cm w:2.8cm h:1.4cm style:downdiag color1:(colFFm) color2:(colFTo) CLIP_OFF ELLIPSE rx:.4cm ry:.4cm CLIP_ELLIPSE rx:.25cm ry:.25cm GRADIENT_RECT x:-0.9cm y:-.7cm w:2.8cm h:1.4cm style:downdiag color1:(colFFm) color2:(colFTo) CLIP_OFF PEN w:0.05cm color:(colBrd) LINE x1:0.0cm y1:0.0cm x2:0.065cm y2:-0.3cm LINE x1:0.0cm y1:0.0cm x2:0.20cm y2:0.0cm FILL color:(colFnt) ELLIPSE rx:.04cm ry:.04cm SET bErrorMarker: 0 ELSIF (sCon = "Yes") RECTANGLE x:-.35cm y:-.35cm w:.7cm h:.7cm PEN w:0.05cm color:(colBrd) LINE x1:-0.25cm y1:-0.2cm x2:0.25cm y2:-0.2cm LINE x1:-0.25cm y1:0.2cm x2:0.25cm y2:0.2cm LINE x1:-0.25cm y1:0.07cm x2:0.25cm y2:0.07cm LINE x1:-0.25cm y1:-0.07cm x2:0.25cm y2:-0.07cm SET bErrorMarker: 0 ELSIF (sSig = "Yes") POLYGON 3 x1:0.0cm y1:-0.45cm x2:0.4cm y2:0.3cm x3:-0.4cm y3:0.3cm SET bErrorMarker: 0 ELSIF (sEsc = "Yes") IF (sTyp != "Top-level") POLYGON 4 x1:0.0cm y1:-0.40cm x2:0.28cm y2:0.25cm x3:0cm y3:-0.025cm x4:-0.28cm y4:0.25cm ENDIF SET bErrorMarker: 0 ELSIF (sErr = "Yes") IF (sTyp = "Event Sub-Process (interrupting)") PEN w:0.04cm color:(colBrd) POLYGON 6 x1:-0.35cm y1:0.35cm x2:-0.15cm y2:-0.25cm x3:0.1cm y3:0cm x4:0.35cm y4:-0.35cm x5:0.15cm y5:0.25cm x6:-0.1cm y6:0cm SET bErrorMarker: 0 ELSIF (sTyp = "Top-level") SET bErrorMarker: 0 ENDIF ELSIF (sCom = "Yes") IF (sTyp = "Event Sub-Process (interrupting)") POLYGON 3 x1:0.0cm y1:-0.2cm x2:0.0cm y2:0.2cm x3:-0.32cm y3:0.0cm POLYGON 3 x1:0.32cm y1:-0.2cm x2:0.32cm y2:0.2cm SET bErrorMarker: 0 ELSIF (sTyp = "Top-level") SET bErrorMarker: 0 ENDIF ELSE IF (sTyp = "Top-level") SET bErrorMarker: 0 ENDIF ENDIF ENDIF IF (bErrorMarker = 1) FONT "Arial" h:16pt color:red bold TEXT "!" x:0cm y:0cm w:c h:c ENDIF IF (showName = "Yes") FONT ATTR "Name" x:0.0cm y:0.8cm w:c:2.0cm h:t line-break:words ENDIF IF (LEN sOpenQuest.trim()) FONT "Arial" h:10.0pt bold color:("red") TEXT "?" x:0.60cm y:-0.80cm ENDIF
|
Graphical Representation |
---|
|
4105 Views