Schema.addCategory({name:"process_evc", text:"EVC 企业价值链", dataAttributes:[ {name:"No.", type:"number", value:"", category:"default"}, {name:"Name", type:"string", value:"", category:"default"}, {name:"Owner", type:"string", value:"", category:"default"}, {name:"Link", type:"link", value:"", category:"default"}, {name:"Memo", type:"string", value:"", category:"default"}, {name:"Cost", type:"number", value:"", category:"default"}, {name:"Time", type:"number", value:"", category:"default"}, {name:"Manner", type:"list", value:"", category:"default"}, {name:"Department", type:"string", value:"", category:"default"}, {name:"Input", type:"string", value:"", category:"default"}, {name:"Output", type:"string", value:"", category:"default"}, {name:"Risk", type:"string", value:"", category:"default"}, {name:"Remarks", type:"string", value:"", category:"default"} ]}); /***ValueChain1*/Schema.addShape({name:"valueChain1", title:"价值链", text:"价值链", category:"process_evc", props:{w:110, h:50},fontStyle:{color:"255,255,255"},lineStyle:{lineWidth:0}, textBlock:{x:"Math.min(h/2,w/6)", y:"0", w:"w-Math.min(h/2,w/6)*2", h:"h"}, textBlockFinal:{x:"w/2-60", y:"h", w:"120", h:"30"}, anchors:[ {x:"w*0.5", y:"0"}, {x:"w", y:"h*0.5"}, {x:"w*0.5", y:"h"}, {x:"Math.min(h/2,w/6)", y:"h*0.5"} ], fillStyle:{color:"165,179,189"},path:[ {actions:[ {action:"move", x:"Math.min(h/2,w/6)", y:"h*0.5"}, {action:"line", x:"0", y:"0"}, {action:"line", x:"w-Math.min(h/2,w/6)", y:"0"}, {action:"line", x:"w", y:"h*0.5"}, {action:"line", x:"w-Math.min(h/2,w/6)", y:"h"}, {action:"line", x:"0", y:"h"}, {action:"line", x:"Math.min(h/2,w/6)", y:"h*0.5"}, {action:"close"} ]} ]}); /***ValueChain2*/Schema.addShape({name:"valueChain2", title:"价值链2", text:"价值链", category:"process_evc", props:{w:110, h:50},fontStyle:{color:"255,255,255"},lineStyle:{lineWidth:0}, textBlock:{x:"Math.min(h/2,w/6)", y:"0", w:"w-Math.min(h/2,w/6)*2", h:"h"},textBlockFinal:{x:"w/2-60", y:"h", w:"120", h:"30"}, anchors:[ {x:"w*0.5", y:"0"}, {x:"w-Math.min(h/2,w/6)", y:"h*0.5"}, {x:"w*0.5", y:"h"}, {x:"0", y:"h*0.5"} ], fillStyle:{color:"165,179,189"},path:[ {actions:[ {action:"move", x:"0", y:"h*0.5"}, {action:"line", x:"Math.min(h/2,w/6)", y:"0"}, {action:"line", x:"w", y:"0"}, {action:"line", x:"w-Math.min(h/2,w/6)", y:"h*0.5"}, {action:"line", x:"w", y:"h"}, {action:"line", x:"Math.min(h/2,w/6)", y:"h"}, {action:"line", x:"0", y:"h*0.5"}, {action:"close"} ]} ]}); /***ValueChain3*/Schema.addShape({name:"valueChain3", title:"价值链3", text:"价值链", category:"process_evc", props:{w:110, h:50},fontStyle:{color:"255,255,255"},lineStyle:{lineWidth:0},fillStyle:{color:"165,179,189"}, path:[ {actions:[ {action:"move", x:"0", y:"0"}, {action:"line", x:"w-Math.min(h/2,w/6)", y:"0"}, {action:"line", x:"w", y:"h*0.5"}, {action:"line", x:"w-Math.min(h/2,w/6)", y:"h"}, {action:"line", x:"0", y:"h"}, {action:"line", x:"0", y:"0"}, {action:"close"} ]} ]}); /***ValueChain4*/Schema.addShape({name:"valueChain4", title:"价值链4", text:"价值链", category:"process_evc", props:{w:110, h:50},fontStyle:{color:"255,255,255"},lineStyle:{lineWidth:0}, fillStyle:{color:"165,179,189"},path:[ {actions:[ {action:"move", x:"0", y:"h*0.5"}, {action:"line", x:"Math.min(h/2,w/6)", y:"0"}, {action:"line", x:"w", y:"0"}, {action:"line", x:"w", y:"h"}, {action:"line", x:"Math.min(h/2,w/6)", y:"h"}, {action:"line", x:"0", y:"h*0.5"}, {action:"close"} ]} ]}); /***ValueChain5*/Schema.addShape({name:"valueChain5", title:"价值链5", text:"价值链", category:"process_evc", props:{w:150, h:70}, textBlock:{x:"0", y:"Math.min(h/2,w/6)", w:"w", h:"h-Math.min(h/2,w/6)"},textBlockFinal:{x:"w/2-60", y:"h", w:"120", h:"30"}, path:[ {actions:[ {action:"move", x:"w*0.5", y:"0"}, {action:"line", x:"w", y:"Math.min(h/2,w/6)"}, {action:"line", x:"w", y:"h"}, {action:"line", x:"0", y:"h"}, {action:"line", x:"0", y:"Math.min(h/2,w/6)"}, {action:"line", x:"w*0.5", y:"0"}, {action:"close"} ]} ]}); /***ValueChain6*/Schema.addShape({name:"valueChain6", title:"价值链6", text:"价值链", category:"process_evc", props:{w:150, h:70}, textBlock:{x:"0", y:"0", w:"w", h:"h-Math.min(h/2,w/6)"},textBlockFinal:{x:"w/2-60", y:"h", w:"120", h:"30"}, path:[ {actions:[ {action:"move", x:"0", y:"0"}, {action:"line", x:"w", y:"0"}, {action:"line", x:"w", y:"h-Math.min(h/2,w/6)"}, {action:"line", x:"w*0.5", y:"h"}, {action:"line", x:"0", y:"h-Math.min(h/2,w/6)"}, {action:"line", x:"0", y:"0"}, {action:"close"} ]} ]}); /***Input/Output*/Schema.addShape({name:"I/O_L3", title:"L3", text:"L3", category:"process_evc", props:{w:110, h:50}, path:[ {actions:{ref:"rectangle"}} ]}); /***Input/Output*/Schema.addShape({name:"I/O_L1", title:"L1", text:"L1", category:"process_evc", props:{w:110, h:50},fontStyle:{color:"255,255,255"},lineStyle:{lineWidth:0},fillStyle:{color:"0,142,207"}, path:[ {actions:{ref:"rectangle"}} ]});