Skip to content

towersxu/draft-flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

手绘风格流程图

基于LogicFlowrough.js实现的手绘风格流程图。

1

使用方法

import LogicFlow from '@logicflow/core';
import RoughPlugin from 'lf-rough';

const lf = new LogicFlow({
  container: document.querySelector('#container'),
  width: 500,
  height: 500,
  plugins: [RoughPlugin],
});
lf.render({
  nodes: [
    {
      type: 'rough-database',
      x: 100,
      y: 100,
      text: '数据库',
    }
  ]
})

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published