Skip to content

Latest commit

 

History

History
64 lines (42 loc) · 1.34 KB

README.md

File metadata and controls

64 lines (42 loc) · 1.34 KB

GUI

UI components for G.

Build Status Coverage Status npm Version npm Download npm License

✨ Features

📦 Installation

$ npm install @antv/gui

🔨 Getting Started

import { 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();

📎 Components

📮 Contribution

$ git clone [email protected]:antvis/gui.git

$ cd gui

$ npm i

$ npm t

Then send a pull request after coding.

📄 License

MIT@AntV.