Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@aegis.inc/flow
Advanced tools
2020年11月12日
2020年8月6日
2020年8月6日
2020年6月14日
2020年5月10日
2020年5月6日
2020年3月14日
2019年12月09日
2019年12月08日
2019年11月26日
2019年11月25日
2019年08月23日
2019年08月22日
{
name: '流程D',
nodeList: [
{
id: 'nodeA',
name: '流程D-节点A',
type: 'task',
left: '18px',
top: '223px',
ico: 'el-icon-user-solid',
state: 'success'
},
{
id: 'nodeB',
type: 'task',
name: '流程D-节点B',
left: '351px',
top: '96px',
ico: 'el-icon-goods',
viewOnly: true,
state: 'error'
},
{
id: 'nodeC',
name: '流程D-节点C',
type: 'task',
left: '354px',
top: '351px',
ico: 'el-icon-present',
state: 'warning'
}, {
id: 'nodeD',
name: '流程D-节点D',
type: 'task',
left: '723px',
top: '215px',
ico: 'el-icon-present',
state: 'running'
}
],
lineList: [{
from: 'nodeA',
to: 'nodeB',
label: '直线,自定义线样式,固定锚点',
connector: 'Straight',
anchors: ['Top', 'Bottom'],
paintStyle: {strokeWidth: 2, stroke: '#1879FF'}
}, {
from: 'nodeA',
to: 'nodeC',
label: '贝塞尔曲线,固定锚点',
connector: 'Bezier',
anchors: ['Bottom', 'Left']
}, {
from: 'nodeB',
to: 'nodeD',
label: '默认连线样式,动态锚点'
}, {
from: 'nodeC',
to: 'nodeD',
label: '默认连线样式,动态锚点'
}
]
}
参数 | 描述 |
---|---|
name | 流程图名称 |
参数 | 必填 | 描述 | 可选值 |
---|---|---|---|
id | 是 | 标识唯一的节点、可以与业务ID相结合 | |
name | 是 | 节点名称 | |
type | 是 | 节点类型,可以和业务相结合做处理 | |
left | 是 | 节点在页面上的X坐标,以px结尾 | |
top | 是 | 节点在页面上的Y坐标,以px结尾 | |
ico | 是 | 节点显示的图标,标识 | |
state | 否 | 状态,状态不同右侧展示的图标不同 | success、error、warning、running |
viewOnly | 否 | 是否仅用于浏览,true: 不可拖拽 | true 、false |
参数 | 必填 | 备注 | 可选值 |
---|---|---|---|
from | 是 | 连线的起始节点的ID | |
to | 是 | 连线的终点节点ID | |
label | 否 | 连线上的描述信息 | |
anchors | 否 | 连线的起始锚点位置,如:["Top","Right"] | ['Top', 'TopCenter', 'TopRight', 'TopLeft', 'Right', 'RightMiddle', 'Bottom', 'BottomCenter', 'BottomRight', 'BottomLeft', 'Left', 'LeftMiddle'], |
connector | 否 | 连线类型 | StateMachine、Flowchart,Bezier、Straight |
下载源码
在自己的vue工程中找到package.json,并引入如下依赖(不用额外引入jsplumb)
"element-ui": "2.9.1",
"lodash": "4.17.15",
"vue": "^2.5.2",
"vue-codemirror": "^4.0.6",
"vuedraggable": "2.23.0"
·
# 下载工程
git clone https://github.com/BiaoChengLiu/easy-flow.git
# 安装依赖包
npm install
# 启动
npm run dev
# 访问地址
http://localhost:8080
https://github.com/BiaoChengLiu/easy-flow
https://gitee.com/xiaoka2017/easy-flow
QQ群:534446043
符合项目package.json中使用的插件中规定的协议即可
名称 | 地址 | 说明 |
---|---|---|
后端SDK | https://gitee.com/xiaoka2017/easy-flow-sdk | 一个后端数据存储、操作的案例 |
学习资料 | https://www.cnblogs.com/mq0036/p/7942139.html | |
jsplumb官网 | http://jsplumb.github.io/jsplumb/home.html#setup | jsplumb官网api说明 |
FAQs
The npm package @aegis.inc/flow receives a total of 0 weekly downloads. As such, @aegis.inc/flow popularity was classified as not popular.
We found that @aegis.inc/flow demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.