CLASS Process
Highlights/Dependencies |
---|
|
GraphRep Code |
---|
GRAPHREP sizing:asymmetrical SHADOW off PEN w:0.03cm AVAL sp:"Language" IF (sp = "System") IF (_uilang = "de") SET sp:"German" ELSE SET sp:"English" ENDIF ENDIF AVAL rp:"Referenced process" AVAL anzeige:"Display name and reference" AVAL i:"Order" AVAL col:"fontcolor" AVAL sn:"Subprocessname" AVAL eP:"External process" SET f:("blue") SET grad:10 AVAL set-default:"no" mono:"Monochrome view" IF (mono = "yes") SET bMono:1 ELSE SET bMono:0 ENDIF IF (bMono) SET color_fill:(rgbval("white")) SET color_pen:(rgbval("black")) SET color_dodgerblue:(rgbval("white")) SET color_yellow:(rgbval("white")) SET color_red:(rgbval("black")) SET color_green:(rgbval("white")) SET color_gray:(rgbval("white")) ELSE SET color_fill:(rgbval(f)) SET color_pen:(rgbval(f)) SET color_dodgerblue:(rgbval("dodgerblue")) SET color_yellow:(rgbval("yellow")) SET color_red:(rgbval("red")) SET color_green:(rgbval("gold")) SET color_gray:(rgbval("$a6ceff")) ENDIF # define table (for sizing) TABLE x:-1.5cm y:-0.7cm w:3.25cm h:1.4cm cols:3 rows:2 w1:0.2cm w2:100% w3:0.25cm h1:50% h2:50% STRETCH off FONT color:(col) IF (eP = "yes") SET color_fill:(rgbval("white")) SET color_pen:(rgbval("black")) PEN color:(color_pen) w:0.05cm style:dash FILL color:(color_fill) ELSE IF (NOT bMono) # start - smooth shaded colors CLIP_POLY 6 x1:(tabx0) y1:(taby0) x2:(tabx2) y2:(taby0) x3:(tabx3) x4:(tabx2) y4:(taby2) x5:(tabx0) y5:(taby2) x6:(tabx1) GRADIENT_RECT x:(tabx0) y:(taby0) w:(tabw1 + tabw2 + tabw3) h:(tabh1 + tabh2) style:downdiag color1:white color2:(color_fill) PEN w:0.08cm color:(color_pen) join:miter FILL style:null CLIP_OFF # end - smooth shaded colors ELSE FILL color:(color_fill) ENDIF ENDIF POLYGON 6 x1:(tabx0) y1:(taby0) x2:(tabx2) y2:(taby0) x3:(tabx3) x4:(tabx2) y4:(taby2) x5:(tabx0) y5:(taby2) x6:(tabx1) IF (search(rp,"(Business process model)",0) >= 0) FILL color:(color_dodgerblue) RECTANGLE x:-0.27cm y:-.25cm w:1cm h:.5cm FILL color:(color_yellow) POLYGON 3 x1:-1.1cm y1:.25cm x2:-.85cm y2:-.25cm x3:-.6cm y3:.25cm ELLIPSE x:1.3cm rx:.25cm ry:.25cm LINE x1:.73cm x2:1.05cm LINE x1:.95cm y1:.06cm x2:1.05cm LINE x1:.95cm y1:-.06cm x2:1.05cm LINE x1:-.72cm x2:-.27cm LINE x1:-.37cm y1:.06cm x2:-.27cm LINE x1:-.37cm y1:-.06cm x2:-.27cm ELSIF (search(rp,"(Company map)",0) >= 0) FILL color:(color_dodgerblue) POLYGON 6 x1:-1cm y1:-.25cm x2:-.2cm y2:-.25cm x3:-.1cm x4:-.2cm y4:.25cm x5:-1cm y5:.25cm x6:-.9cm POLYGON 6 x1:1.35cm y1:-.25cm x2:.65cm y2:-.25cm x3:.75cm x4:.65cm y4:.25cm x5:1.35cm y5:.25cm x6:1.45cm LINE x2:.65cm LINE x1:.55cm y1:.06cm x2:.65cm LINE x1:.55cm y1:-.06cm x2:.65cm LINE y1:-.06cm y2:.06cm ELSIF (search(rp,"(Business process diagram (BPMN 2.0))",0) >= 0) FILL color:(color_gray) ROUNDRECT x:-0.24cm y:-.25cm w:1cm h:.5cm rx:.1cm ry:.1cm FILL color:(color_green) ELLIPSE x:1.3cm rx:.25cm ry:.25cm LINE x1:.73cm x2:1.05cm LINE x1:.95cm y1:.06cm x2:1.05cm LINE x1:.95cm y1:-.06cm x2:1.05cm LINE x1:-.72cm x2:-.27cm LINE x1:-.37cm y1:.06cm x2:-.27cm LINE x1:-.37cm y1:-.06cm x2:-.27cm ELLIPSE x:-0.8cm rx:.25cm ry:.25cm ENDIF FONT h:(PT grad) color:(col) IF (rp = "") IF (sp = "English") ATTR "Name" y:(tabh2 + 0.1cm) w:c:(tabw1 + tabw2 + tabw3) h:t ELSE ATTR "Bezeichnung" y:(tabh2 + 0.1cm) w:c:(tabw1 + tabw2 + tabw3) h:t ENDIF ELSE IF (sp = "English") IF (anzeige = "yes") ATTR "Name" y:(tabh2 + 0.1cm) w:c:(tabw1 + tabw2 + tabw3) h:t ATTRBOX "Name" y:(tabh2 + 0.1cm) w:c:(tabw1 + tabw2 + tabw3) h:t FONT "Arial" h:8pt bold ATTR "Referenced process" y:(texty2 + .1cm) w:c:(tabw1 + tabw2 + tabw3) h:t format:"%m" FONT h:(PT grad) color:(col) ELSE ATTR "Referenced process" y:(tabh2 + 0.1cm) w:c:(tabw1 + tabw2 + tabw3) h:t format:"%m" ENDIF ELSE IF (anzeige = "yes") ATTR "Bezeichnung" y:(tabh2 + 0.1cm) w:c:(tabw1 + tabw2 + tabw3) h:t ATTRBOX "Bezeichnung" y:(tabh2 + 0.1cm) w:c:(tabw1 + tabw2 + tabw3) h:t FONT "Arial" h:8pt bold ATTR "Referenced process" text:(sn) y:(texty2 + .1cm) w:c:(tabw1 + tabw2 + tabw3) h:t line-break:words PEN FILL FONT h:(PT grad) color:(col) ELSE ATTR "Referenced process" text:(sn) y:(tabh2 + 0.1cm) w:c:(tabw1 + tabw2 + tabw3) h:t line-break:words PEN FILL ENDIF ENDIF ENDIF IF (i > "0") FONT "Arial" h:10.0pt color:white bold ATTR "Order" x:(tabx2 - 0.1cm) y:(taby2) w:r:1cm h:b ENDIF AVAL oF:"Open questions" IF ( LEN(replall(replall((oF)," ","")," ",""))>0 ) FONT "Arial" h:10.0pt bold color:(color_red) ATTR "Open questions" text:"?" x:(tabx2 - 0.1cm) y:(taby0 - 0.4cm) ENDIF
|
Graphical Representation |
---|
|
2365 Views