
Security News
Frontier AI Is Now Critical Infrastructure
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.
chart-flow-edit
Advanced tools
import { FlowChart } from 'flowEditor';
<FlowChart />
| 属性 | 类型 | 是否必填 | 默认值 |
|---|---|---|---|
| data | Object | 是 | 无 |
| height | Number | 否 | 400 |
| fitView | String | 否 | tc |
import React from 'react';
import './App.css';
import { FlowChart } from 'flowEditor';
const editData = require('./data.json');
class App extends React.Component {
render() {
const data = editData.modelJson
return (
<FlowChart data={data} fitView="tc" />
);
}
}
export default App;
详见data.json里的modelJson字段
import { FlowEdit } from 'flowEditor';
<FlowEdit showProperty={true} showVariable={true} showAdvancedSettings={true} data={data} />
| 属性 | 类型 | 是否必填 | 默认值 | 说明 |
|---|---|---|---|---|
| showProperty | Boolean | 是 | true | 是否显示流程属性 |
| showVariable | Boolean | 是 | true | 是否显示流程变量 |
| showAdvancedSettings | Boolean | 是 | true | 是否显示高级设置 |
| data | Object | 是 | 无 | 数据格式见data.json完整数据 |
import React from 'react';
import { FlowEdit } from 'flowEditor';
import 'antd/dist/antd.css'
const editData = require('./data.json');
class App extends React.Component {
render() {
const data = editData
return (
<FlowEdit showProperty={true} showVariable={true} showAdvancedSettings={true} data={data} />
);
}
}
export default App;
FlowChart可嵌套在任意容器中,FlowEdit建议新开一个页面,只显示FlowEdit,且页面不要嵌套太多div等容器,最好只有FlowEdit
FAQs
```javascript import { FlowChart } from 'flowEditor';
The npm package chart-flow-edit receives a total of 4 weekly downloads. As such, chart-flow-edit popularity was classified as not popular.
We found that chart-flow-edit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.