Skip to content

Amarone/draft-flow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 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

Languages

  • TypeScript 81.4%
  • JavaScript 9.6%
  • Vue 4.5%
  • HTML 3.0%
  • CSS 1.5%