RaoHai / fringing

只是一个流程图

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API 设计

jaredleechn opened this issue · comments

  • onActiveNodesChange(before=[{ id, position, xxx }], after=[]) {}
  • onConnect({ from: { id, point }, to: { id, point }}) {}
const Provider = createContainer({ width, height })(app);
const Node = createNode()(node);

render() {
  return (<Provider
    connections={}
    highLightTags={[]}
    onActiveNodesChange={}
    onConnect={}
  >
    <Node
      tag={[]}
      data={{ id, x, y }}
    >
    </Node>
  </Provider>);
}