🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

@interaction/antv-graph

Package Overview
Dependencies
Maintainers
6
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@interaction/antv-graph

关于antv的封装

latest
npmnpm
Version
0.0.2
Version published
Maintainers
6
Created
Source

AntV 组件封装

安装

npm i @interaction/antv-graph

使用

import { Antv } from '@interaction/antv-graph'
const compactBox = new Antv.CompactBox()
compactBox.create(data, 'box')

Antv

名称描述参考
CompactBox紧凑树Antv链接
MindMap脑图Antv链接
Indented缩紧图Antv链接
Dendrogram辐射图Antv链接
Dagre流程图Antv链接
ArcDiagram弧线图Antv链接

API

public create(data: TreeGraphData, option: string | GraphOptions):Graph

  • data 需要渲染的数据

  • option 渲染container Id或GraphOption

Keywords

typescript

FAQs

Package last updated on 23 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts