Gathering detailed insights and metrics for @antv/g6-pc
Gathering detailed insights and metrics for @antv/g6-pc
Gathering detailed insights and metrics for @antv/g6-pc
Gathering detailed insights and metrics for @antv/g6-pc
♾ A Graph Visualization Framework in JavaScript.
npm install @antv/g6-pc
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
11,172 Stars
5,327 Commits
1,330 Forks
215 Watching
10 Branches
187 Contributors
Updated on 28 Nov 2024
Minified
Minified + Gzipped
TypeScript (86.97%)
JavaScript (12.88%)
HTML (0.12%)
Shell (0.02%)
Less (0.01%)
Cumulative downloads
Total Downloads
Last day
-9.6%
13,892
Compared to previous day
Last week
11%
77,454
Compared to previous week
Last month
10.6%
272,831
Compared to previous month
Last year
-4.1%
3,501,894
Compared to previous year
22
30
English | 简体中文
Introduction • Examples • Quick Start • API
G6 is a graph visualization engine. It provides basic capabilities for graph visualization and analysis such as drawing, layout, analysis, interaction, animation, themes, and plugins. With G6, users can quickly build their own graph visualization and analysis applications, making relational data simple, transparent, and meaningful.
G6, as a professional graph visualization engine, boasts the following features:
G6 is usually installed via a package manager such as npm or Yarn.
1$ npm install @antv/g6
The Graph
object then can be imported from G6.
1<div id="container"></div>
1import { Graph } from '@antv/g6'; 2 3// Get the Data. 4const data = { 5 nodes: [ 6 /* your nodes data */ 7 ], 8 edges: [ 9 /* your edges data */ 10 ], 11}; 12 13// Create the Graph instance. 14const graph = new Graph({ 15 container: 'container', 16 data, 17 node: { 18 palette: { 19 type: 'group', 20 field: 'cluster', 21 }, 22 }, 23 layout: { 24 type: 'force', 25 }, 26 behaviors: ['drag-canvas', 'drag-node'], 27}); 28 29// Render the Graph. 30graph.render();
All goes well, you can get the following lovely graph!
For more ecosystem open-source projects, contributions are welcome. Please feel free to submit a PR for inclusion.
MIT.
No vulnerabilities found.
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
Found 22/30 approved changesets -- score normalized to 7
Reason
security policy file detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More