@antv/g-svg
A canvas library which providing 2d
Last updated a month ago by atool .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @antv/g-svg 
SYNC missed versions from official npm registry.

English | 简体中文

g-svg

npm package npm downloads Percentage of issues still open

  • A svg library which providing 2d draw for AntV.

✨ Features

  • Powerful and scalable rendering capability with built-in basic Graphics.
  • Excellent rendering performance and supports visualization scenarios with large amounts of data.
  • Complete simulation of browser DOM events, and no difference from native events.
  • Smooth animation implementation and rich configuration interfaces.

???? Install

$ npm install @antv/g-svg --save

???? Usage

<div id="c1"></div>
import { Canvas } from '@antv/g-svg';

const canvas = new Canvas({
  container: 'c1',
  width: 500,
  height: 500,
});

const group = canvas.addGroup();
group.addShape('circle', {
  attrs: {
    x: 100,
    y: 100,
    r: 50,
    fill: 'red',
    stroke: 'blue',
    lineWidth: 5,
  },
});

Current Tags

  • 0.5.0-beta.1                                ...           beta (8 months ago)
  • 0.5.6                                ...           latest (a month ago)

58 Versions

  • 0.5.6                                ...           a month ago
  • 0.5.5                                ...           a month ago
  • 0.5.2                                ...           3 months ago
  • 0.5.1                                ...           4 months ago
  • 0.5.0                                ...           6 months ago
  • 0.5.0-beta.1                                ...           8 months ago
  • 0.4.7                                ...           8 months ago
  • 0.4.6                                ...           9 months ago
  • 0.4.5                                ...           9 months ago
  • 0.4.4                                ...           9 months ago
  • 0.4.3                                ...           9 months ago
  • 0.4.2                                ...           9 months ago
  • 0.4.1                                ...           10 months ago
  • 0.4.0                                ...           10 months ago
  • 0.3.28                                ...           a year ago
  • 0.3.27                                ...           a year ago
  • 0.3.26                                ...           a year ago
  • 0.3.25                                ...           a year ago
  • 0.3.24                                ...           a year ago
  • 0.3.23                                ...           a year ago
  • 0.3.22                                ...           a year ago
  • 0.3.21                                ...           a year ago
  • 0.3.20                                ...           a year ago
  • 0.3.19                                ...           a year ago
  • 0.3.18                                ...           a year ago
  • 0.3.17                                ...           a year ago
  • 0.3.16                                ...           a year ago
  • 0.3.15                                ...           a year ago
  • 0.3.14                                ...           a year ago
  • 0.3.13                                ...           a year ago
  • 0.3.12                                ...           a year ago
  • 0.3.11                                ...           a year ago
  • 0.3.10                                ...           a year ago
  • 0.3.9                                ...           a year ago
  • 0.3.8                                ...           a year ago
  • 0.3.7                                ...           a year ago
  • 0.3.6                                ...           a year ago
  • 0.3.5                                ...           a year ago
  • 0.3.4                                ...           a year ago
  • 0.3.3                                ...           a year ago
  • 0.3.2                                ...           a year ago
  • 0.3.1                                ...           a year ago
  • 0.3.0                                ...           a year ago
  • 0.2.0                                ...           a year ago
  • 0.1.2                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago
  • 0.1.0-beta.11                                ...           a year ago
  • 0.1.0-beta.10                                ...           a year ago
  • 0.1.0-beta.9                                ...           a year ago
  • 0.1.0-beta.8                                ...           a year ago
  • 0.1.0-beta.7                                ...           a year ago
  • 0.1.0-beta.6                                ...           a year ago
  • 0.1.0-beta.5                                ...           a year ago
  • 0.1.0-beta.4                                ...           a year ago
  • 0.1.0-beta.3                                ...           a year ago
  • 0.1.0-beta.2                                ...           a year ago
  • 0.1.0-beta.1                                ...           a year ago

Copyright 2014 - 2017 © taobao.org |