UI components for G.
$ npm install @antv/guiimport { Canvas } from '@antv/g';
import { Arrow } from '@antv/gui';
// add `arrow` instance into canvas
const canvas = new Canvas({/* ... */});
const arrow = new Arrow({/* ... */});
canvas.appendChild(arrow);
// render it
canvas.render();$ git clone git@github.com:antvis/gui.git
$ cd gui
$ npm i
$ npm tThen send a pull request after coding.
MIT@AntV.