code/Athena0.0.1/Web/Content/WorkflowVisualization/myflow.js

(开头部分) 36KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

(function (b) {
    var a = {};
    a.config = {
        editable: true,
        lineHeight: 15,
        basePath: "",
        rect: {
            attr:
			    {
			        x: 10,
			        y: 10,
			        width: 100, //矩形宽度
			        height: 50, //高度50
			        r: 5, //半径 r=width 圆
			        fill: "90-#fff-#C0C0C0", //填充颜色
			        stroke: "#000",
			        "stroke-width": 1
			    },
            showType: "image&text", //显示形式 图片&文字
            type: "state",
            name:
            {
                text: "state",
                "font-style": "italic"
            },
            text:
           {
               text: "状态",
               "font-size": 13
           },
            margin: 5, //外围边框
            props: [],
            img: {}
        },
        path: {
            attr: {
                path:
                {
                    path: "M10 10L100 100",
                    stroke: "#808080",
                    fill: "none",
                    "stroke-width": 2
                },
                arrow: //箭头
                {
                path: "M10 10L10 10",
                stroke: "#808080",
                fill: "#808080",
                "stroke-width": 2,
                radius: 4
            },
            fromDot:
                {
                    width: 5,
                    height: 5,
                    stroke: "#fff",
                    fill: "#000",
                    cursor: "move",
                    "stroke-width": 2
                },
后面还有 1245 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。