G6 contrast LogicFlow

G6

G6 is more of a presentation framework and doesn’t specialize in graphic editing.

However, G6 has a corresponding diagram editing framework. G6-editor is an interactive flowchart editing framework. According to the information I collected, this framework is not open source and is only for learning and communication, but not for commercial use.

It does not currently have complete documentation and interface configuration details on the web. Only part of the demo can be searched.

LogicFlow

LogicFlow is much easier to use than G6, open source, well documented and demo, and support for VUE and TS should also be high.

There are apis for adding nodes, deleting nodes, changing names, adjusting canvas, and even dragging and dropping. Almost all the functions you need to use have apis, which are relatively easy to use. You can develop a simple drag-and-drop flowchart with less code.