@antv/g6

v5.0.0-beta.11
A Graph Visualization Framework in JavaScript
antv g6 graph graph analysis graph editor graph visualization relational data

ci

run-s lint build

dev

vite

doc

npm run clear:doc && typedoc

fix

eslint ./src ./tests --fix && prettier ./src ./tests --write

lint

eslint ./src --quiet && prettier ./src --check

size

limit-size

test

jest

build

run-p build:*

clean

rimraf es lib

start

rimraf ./lib && tsc --module commonjs --outDir lib --watch

coverage

jest --coverage

build:cjs

rimraf ./lib && tsc --module commonjs --outDir lib

build:esm

rimraf ./esm && tsc --module ESNext --outDir esm

build:umd

rimraf ./dist && rollup -c && npm run size

clear:doc

rimraf ../site/docs/_apis

test-live

DEBUG_MODE=1 jest --watch ./tests/unit/item-animate-spec.ts

bundle-vis

cross-env BUNDLE_VIS=1 run-p build:umd

test-behavior

DEBUG_MODE=1 jest --watch ./tests/unit/item-3d-spec.ts

lint-staged:js

eslint --ext .js,.jsx,.ts,.tsx

prepublishOnly

npm run ci

test:integration

node --expose-gc --max-old-space-size=4096 --unhandled-rejections=strict node_modules/jest/bin/jest tests/integration/ --config jest.node.config.js --coverage -i --logHeapUsage --detectOpenHandles

test:integration_one

node --expose-gc --max-old-space-size=4096 --unhandled-rejections=strict node_modules/jest/bin/jest tests/integration/items-edge-loop.spec.ts --config jest.node.config.js --coverage -i --logHeapUsage --detectOpenHandles
npm i @antv/[email protected]

Metadata

  • MIT
  • Whatever
  • https://github.com/orgs/antvis/people
  • released 9/21/2023

Downloads